Jump to content

Quotes not working out how I remember them...


 Share

Recommended Posts

so, I haven't been able to squeeze in much scripting recently and now that I have another task that requires it, I'm getting stumped by what should be pretty simple.

I've got a & symbol in my admin account and that creates issues whenever running stuff within the @tempdir. I thought that I'd gotten it whipped, and doesn't this look right?

RunWait(@ComSpec & ' /k "' & $str7za & '" x "' & $strAcesClientExe & '" -oc:\aces_client -y', $strInstallTemp)

the parts with &s are with the $str7za, $strAcesClientExe and $strInstallTemp... the working dir seems to work, but it's after that I get issues...

I've put the double quotes in red, they seem to be ineffective.

sorry for my return being in such a non-brilliant method.

"I'm not even supposed to be here today!" -Dante (Hicks)

Link to comment
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
 Share

  • Recently Browsing   0 members

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