Like I said above, you have to modify the LNK file.
try creating a copy of CMD.LNK
[ul square]
[li]START > Programs > Accessories[/li]
[li]locate 'Command Prompt' or 'DOS Prompt'[/li]
[li]right-click on it and drag it to the desktop and select 'copy'[/li]
[li]edit the properties of the one you just copied where it says 'c:\winnt\cmd.exe' [/li]
[li]change it to something like:
'c:\winnt\cmd.exe [red]/c c:\yourBatch.bat[/red]' [/li]
[li]also change (if it shows) the 'run' window. If it says "normal window" change it to "minimized" [/li]
[li]save the changes [/li]
[li]run the program--it may be too fast to notice it worked.[/li]
[/ul]
theres way to do it but not from the command line....
if you run a batch file create a short cut to the batch file and right click on the shortcut and select properties.
under the properties, in the "run" catagory select "minimized" and exit saving your changes....when this short cut is next called it will run minimized.
if you have many sub batch files, in which you want all to run minimized, i would create shortcuts for all of them and "call" the shortcuts and not the bat files themselves.
hope this helps
chris castelein
shive-hattery
cedar rapids, ia
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.