luther8439 Posted May 22, 2006 Posted May 22, 2006 Here is my code, and it didn't work$dir_path = "D:\Temp"runWait(@COMSPEC & ' /c CDIMAGE.exe -l"Hotfixer" -h -n -d -o ' & $dir_path & 'C:\Hotfixer.iso', "", @SW_HIDE)in DOS Command, the code should be:CDIMAGE.exe -l"Hotfixer" -h -n -d -o D:\Temp C:\Hotfixer.isoMy basic question is how to use a Variable in such situation. I was totally confused with the " and ' Thank you for your help
Valuater Posted May 22, 2006 Posted May 22, 2006 check your spacing msgbox(0,0,@COMSPEC & ' /c CDIMAGE.exe -l"Hotfixer" -h -n -d -o ' & $dir_path & 'C:\Hotfixer.iso') 8)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now