Sign in to follow this  
Followers 0
luther8439

Problem of runWait()

2 posts in this topic

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.iso

My basic question is how to use a Variable in such situation. I was totally confused with the " and '

:)

Thank you for your help

Share this post


Link to post
Share on other sites



check your spacing

msgbox(0,0,@COMSPEC & ' /c CDIMAGE.exe -l"Hotfixer" -h -n -d -o ' & $dir_path & 'C:\Hotfixer.iso')

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0