Microsoft
Software
Hardware
Network
Question : Using batch file to start programs with switches
I am using the following batch file to start a bunch of programs:
@echo off
cls
start "" "%SystemRoot%\System32\cal
c.exe"
start "" "C:\Program Files\Pass\Pass.exe"
Its working great but one of my batch commands has a command line switch
"C:\Documents and Settings\Todd\My Documents\HSEC\HSEC.TH\My Documents\BAT\HSEC OutlookPrev.BAT" L
How can I add this in using quotes correctly to keep my command lind switch working?
Thanks.
Answer : Using batch file to start programs with switches
It should be as easy as this:
start "" "C:\Documents and Settings\Todd\My Documents\HSEC\HSEC.TH\My Documents\BAT\HSEC OutlookPrev.BAT" L
Random Solutions
Assistance with Windows Forms and calendar control embedded inside a grid
Strip special character function for SQL statement
Cannot use Remote Desktop connection on Windows 2000 server
Unable to change the size of the page file
How to use DELETE command in SQL SERVER 2005
Error: "The action cannot be carried out while processing a form event."
Adding AD Custom User Attributes
Recreate Deleted Computer Object
Net Time reporting wrong time to workstations.
Userform - button for close and save