Jump to content

Recommended Posts

Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...