2 Replies Latest reply on Oct 25, 2011 3:33 AM by Eddie Lim

    Copy Custom Command (Windows)

      Hello all,


      A while back I created a custom command that allows users to copy (where permissions permits) any file from any server onto their local root drive (normally C:)


      cp //%h/%p /


      now this works fine on any Unix based machines and on windows where the path doesnt have any spaces in between.


      where there are spaces, e.g. a file on the 'Program Files' folder, the command crashes out stating it can't find the file in question.


      Do any of you guys have any suggestions on how to modify this custom command so that it works on ANY file path inc ones with spaces in between?




      cp //%h/"%p" /

      cp //%h/'%p' /

      cp "//%h/%p" /


      and various others but none seems to work.


      thanks in advance!