Reputation: 1125
I am trying to run xxx.exe file using command prompt with silent mode. i saw this link in Google: http://www.powerware.com/Software/lansafe_help/LSHelp424.htm.
when i run this command : C:>"D:\xxx.exe" -r -f1"D:\Test.iss" am getting error : "xxx.exe" is not recognized as an internal or external command operable program or batch file.
Can any body give the idea where i am doing mistake.
Upvotes: 4
Views: 27072
Reputation: 1
Use:
"D:\myprog\myprog.exe" /S/V"/qn"
This will not show the installation screen
Upvotes: 0
Reputation: 4893
As others said, make sure your path to your exe file is correct. You can change directory where exe is before execution or write out the full path.
By silent mode if you mean to run exe without any output on screen, then simply redirect the output to a file.
E.g. if your exe is in D:\myprog\myprog.exe, then following command will make your program run in "silent" mode:
c:>"D:\myprog\myprog.exe" > "D:\myprog\output.txt"
Above example will dump output into output.txt file.
Upvotes: 5
Reputation: 4803
You may switch over to the D:\ drive before running your command, but it shouldn't matter. Double check it actually exists in that location
Upvotes: 0
Reputation: 1504
you have to run your command in which location EXE file is located. can you check whether its residing in d:?
Upvotes: 0