4 Replies Latest reply on Aug 4, 2010 6:37 AM by Bill Robinson

    nsh directory incorrect format for CScript

      Hi,

       

      I have a nsh script which takes a drive / path as a parameter, which nsh in turn passes on as a parameter to some embedded vbscript.  The problem I have is nsh required the path in the format

       

      //c/program files/xxxx

       

      where as CScript requires it as

       

      c:\program files\xxx

       

      or

       

      c:/program files/xxx

       

      Is there a simple way to convert between the two formats (a trick I am missing) or is the only way to pass in the drive and path as separate variables and format them internally to the nsh and CScript independently ?

       

      Thanks,

       

      Jason.