New
#11
Did you see my post on the previous page?
batch file
i removed "start" and add "dir>%userprofile%\desktop\output.txt" at the end of my code:
when run it , it creats WirelessKeyView.txt in desktop(does not have anything) and a txt file with the same name in the C drive near the batch fie(the batch file is near C drive) that has the password of my wireless.Code:WirelessKeyView.exe /stext WirelessKeyView.txt dir>%userprofile%\desktop\WirelessKeyView.txt
i want taht the batch file create that .txt file of my wireless password in desktop not near the batch file
That's all you have to doCode:WirelessKeyView.exe /stext "%userprofile%\desktop\WirelessKeyView.txt"
Last edited by Kaktussoft; 28 Aug 2012 at 04:52.
I did not have any luck putting a path in front of the output file.
batch file
From what the OP has said - probably going to have to do a
CD %userprofile%\desktop\
full path to the EXE /stext WirelessKeyView.txt