Menu

#178 xcopy switches without spaces

open
nobody
xcopy (2)
5
2024-08-13
2017-02-08
fenugrec
No

Hi,
running freedos 1.2 I have the following problem :
The installer for an old application is hardcoded to use "xcopy <src> <dest> /S/E/V", which no doubt worked on MSDOS, but the freedos implementation of xcopy complains about S/E/V being an invalid switch.

Discussion

  • Anthony Williams

    You might?? be able to rename XCOPY to _XCOPY.EXE and then create XCOPY.BAT that will call _XCOPY.EXE with %1 %2 %3 etc. holding the relevant args. IIRC, FreeCOM has a quirk where it will split "/S/E/V" into "/S /E /V" for you.

     
  • fenugrec

    fenugrec - 2018-01-12

    Heh thanks, I had forgotten about this. In the end I think I used an MSDOS xcopy renamed to ycopy.exe and just patched the installer to call "ycopy" instead. I do believe freedos' implementation should deal with switches without spaces though.

     
  • Kenneth Davis

    Kenneth Davis - 2024-08-13

    now supported in upcoming xcopy 1.7

     
  • fritz.mueller

    fritz.mueller - 2024-08-13

    Hi, great!
    Do you have the permission to close threads? Then it would be great if you could close 29, 178 and 346.

     
  • Kenneth Davis

    Kenneth Davis - 2024-08-13

    no I lost the ability to do more than add comments here a decade+ ago

     

Log in to post a comment.