Jump to content

Recommended Posts

Posted (edited)

First off

$drive = "c:\"
$someExe = "some.exe"
$file = "my test.file"

$temp = $someExe & " " & '"' & $drive & $file & '"'
RunWait($temp)

The last "(double quote) does not get appended!

What I get in $temp is c:\some.exe "c:\my test.file when it should be c:\some.exe "c:\my test.file"

Can anyone clarify?

Thanks,

Mike

Edited by dirtmike

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
×
×
  • Create New...