Sign in to follow this  
Followers 0
luther8439

run() and variables

3 posts in this topic

#1 ·  Posted (edited)

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



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

#3 ·  Posted (edited)

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  
Followers 0