Friday, April 17, 2015

windows - Batch file with DOS box hidden?




On XP(SP3), is there a way to run a batch file without the DOS box being displayed at all (not just minimized)?


I tried several things, including "EXIT /B", "GOTO:EOF", and Erik Heijnen's ConsoleTool, to no avail.


Thank you.




Edit: Here's a simple solution when we just need to pass parameters: Add a Shortcut to the Deskop, and modify its Target parameter to pass parameters:


"C:\Program Files\Acme\MyApp\MyApp.exe" /MYSWITCH 123

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...