3 Replies Latest reply on Mar 15, 2011 8:53 AM by philmodjunk

    Using variable in Open URL script step in Windows

    Side

      Title

      Using variable in Open URL script step in Windows

      Post

      I try to move files with Dos commands using the Open URL script step.

      When I run the script from a Mac computer the the URL shows the exact value of the variable but in Windows one backslashe is missing when I have to consecutive backslashes.  The script is intended to run on Windows computers.

      Here is the script steps.

      $Command = "cmd /c copy " & Parameter::Template & " " & Parameter::Client_File_Path

      Open URL ($Command) //Where $Command = cmd /c copy \\Server\Directory\File.xls \\Server\OtherDirectory

      In Windows, the two backslashes in RED are missing in the URL

      Is there a workaround.

      Thank You.