EXE SYS -w Powershell (Opens a DOS Window)
Posted: Fri Dec 03, 2010 4:20 am
EXE "SYS -w Powershell"
The above command will launch a windows application. The problem i ran into was the windows application with actually a "console application".
Cosmetically, the console application looks a lot like "A DOS WINDOW", but internally, if you look at task manager, cmd.exe (DOS) is not a process, only Powershell
Looking at the syntax "-m and -M" seem to be for "DOS Only", but Just for fun I tried the following:
sys -w -m Powershell
This caused the "Powershell" to be minimized.
and then
sys -w -M Powershell
This caused the "Powershell" to have no taskbar icon as well as running "Invisibly".
In short, -m & -M are NOT DOS only commands.
The simple solution, sys -w -m or sys -w -M.
The above command will launch a windows application. The problem i ran into was the windows application with actually a "console application".
Cosmetically, the console application looks a lot like "A DOS WINDOW", but internally, if you look at task manager, cmd.exe (DOS) is not a process, only Powershell
Looking at the syntax "-m and -M" seem to be for "DOS Only", but Just for fun I tried the following:
sys -w -m Powershell
This caused the "Powershell" to be minimized.
and then
sys -w -M Powershell
This caused the "Powershell" to have no taskbar icon as well as running "Invisibly".
In short, -m & -M are NOT DOS only commands.
The simple solution, sys -w -m or sys -w -M.