Jump to content
Sign in to follow this  
luther8439

run() and variables

Recommended Posts

luther8439

With One variable, it works fine, here is my code:

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

runWait(@COMSPEC & ' /c CDIMAGE.exe -l"Hotfixer" -h -n -d -o "' & $dir_path & '" $iso_path', "", @SW_MINIMIZE)

Ignore it, I just figured it out! :)

The above code works fine

Edited by luther8439

Share this post


Link to post
Share on other sites
blademonkey

With One variable, it works fine, here is my code:

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

My problem is having two variables worked. I keep getting No Response since I changed my code to be

runWait(@COMSPEC & ' /c CDIMAGE.exe -l"Hotfixer" -h -n -d -o "' & $dir_path & '" $iso_path', "", @SW_MINIMIZE)

Can anyone fix it for me? Thank you so much :)

try this

runWait(@COMSPEC & ' /c CDIMAGE.exe -l"Hotfixer" -h -n -d -o "' & $dir_path & '" '& $iso_path, "", @SW_MINIMIZE)

---"Educate the Mind, Make Savage the Body" -Mao Tse Tung

Share this post


Link to post
Share on other sites
Valuater

if you use the message box.. it will show you what is wromg...

possibly you need to

"' & $dir_path & '" ' & $iso_path'

there is a space.^ here and the extra &

8)

to slow...

Edited by Valuater

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.