Xcopy is not a DOS program, it's a built-in Windows executable.
It's behavior has nothing to do with the version, it's has been working pretty much the same way since decades ago.
What error are you getting? Almost always failures are cleary stated in the command output, and the causes can be very diverse to guess.
I guess I'm not explaining problem properly or I don't know what I'm talking about. The Euphoria programing language has a command called system_exec. Here are docs for it:
Syntax: i1 = system_exec(st, i2)
Description: Try to run the command given by st. st must be a command to run
an executable program, possibly with some command-line arguments.
If the program can be run, i1 will be the exit code from the
program. If it is not possible to run the program, system_exec()
will return -1. i2 is a code that indicates what to do about the
graphics mode when system_exec() is finished. These codes are the
same as for system():
When i2 is 0, the previous graphics mode is restored and the
screen is cleared.
When i2 is 1, a beep sound will be made and the program will wait
for the user to press a key before the previous graphics mode is
restored.
When i2 is 2, the graphics mode is not restored and the screen is
not cleared.
If I go to the command line and type 'notepad' notepad opens normally. If I run the euphoRia program, a=system_exec{"notepad",2) notepad opens normally and a returns 0.
If I type, from the command line, "xcopy /y /h /r /k /s e:\euNFL15 "f:\back_up\" all the files get printed to the screen but they don't copy. Same thing if I run it as a euphoria program.
Actually the program uses system() not system_exec(). If I use system then nothing happens at all. All this is using Windows 7 Professional. If run on my Windows 7 Premie desktop, all my euphoria programs work normally.
So it seems that I have to do is change my laptop Window 7 Professional to Windows 7 Prename. I'm not sure how to do that.
Don Cole