Uploaded image for project: 'YADE - Yet Another Data Exchange Tool'
  1. YADE - Yet Another Data Exchange Tool
  2. YADE-204

All slashes in transfer commands on Windows are changed to backslashes

    XMLWordPrintable

Details

    Description

      All slashes in transfer commands on Windows are changed to backslashes.
      If the command has options like /F or /Y then the command doesn't work

      EXAMPLE
      • the target system is Windows
      • target_post_command=xcopy /Y "$TargetFileName" "c:\another\folder"
        then Jade calls
        C:\Windows\system32\cmd.exe /C xcopy \Y "\path\to\target\file" "c:\another\folder"
        
      WORKAROUND

      Save a cmd file on Windows (e.g. C:\TEMP\myxcopy.cmd) with the content

      xcopy /Y "%~1" "%~2"
      

      and use
      target_post_command=C:\TEMP\myxcopy.cmd "$TargetFileName" "c:\another\folder"

      Attachments

        Activity

          People

            oh Oliver Haufe
            oh Oliver Haufe
            Oliver Haufe Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h