Jump to content

Parentheses question


lyledg
 Share

Recommended Posts

Guys

I am trying to write the output of a input box variable to a batch file.

Problem is that the output being written is a path, which means it should be in "". But I am unsure how to get the output in the correct format:

The line I am using is as follows:

FileWriteLine($file, "Robocopy " & Guiread($Src) & " " & Guiread($Dst) & " " & Guiread($Files) & " " & $MIRval & $SBDIRval & $VBLval & $NPval & $SECval & $LOGval )

How do I encompass the $SRC abd $DST variable in "" so that robocopy reads the values correctly from a batch file?

Cheers

Lyle

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...