How to execute hidden command in cmd and exit -
i have line:
c:\windows\system32\cmd.exe start /minimized /wait cmd.exe /c picture.jpg i use line in target field of shortcut.
when run it, opens minimized cmd, , picture. need close cmd, after opening picture, or run cmd in hidden mode.
can help? in advance.
i not sure may work in scenario. there 2 possible workouts this.
1) use batch script , in last line, add exit script. save something.bat , run whenever needed. execute scripts , in end, cmd exit.
2) alternately may use want run cmd in hidden mode (not minimized). this, create batch job. pack batch file using particular exe compressor - 'iexpress'. (type iexpress under run box) has option run scripts in hidden mode. run in background.
Comments
Post a Comment