I don't want to seem picky, but... even ROBOCOPY from versions later than 3.12 doesn't work.
The program replicates itself infinitely, and if you are not quick to force it to close with CTRL+ALT+DELETE, the system freezes and then crashes.
To be honest... even in version 3.12, the command behaves strangely: it doesn't work 20 times (just to say it seems random) and then it works once.
ROBOCOPY is an important command; I will try to compile the executable with version 1.5... I have nothing left: I've tried everything!
Perhaps the problem encountered with the manipulation of the system dates is just the tip of the iceberg. Maybe it has to do with how QB64 connects, through SHELL, with the operating system commands.
In c:\robocopy there are some files that I would like to copy to c:\robocopy new while preserving the attributes.
The syntax is designed to allow for the handling of paths with empty spaces.
note: There are no spaces between COPY : DAT: I have to write it this way because the editor that formats the code writes COPYAT !!
The program replicates itself infinitely, and if you are not quick to force it to close with CTRL+ALT+DELETE, the system freezes and then crashes.
To be honest... even in version 3.12, the command behaves strangely: it doesn't work 20 times (just to say it seems random) and then it works once.
ROBOCOPY is an important command; I will try to compile the executable with version 1.5... I have nothing left: I've tried everything!
Perhaps the problem encountered with the manipulation of the system dates is just the tip of the iceberg. Maybe it has to do with how QB64 connects, through SHELL, with the operating system commands.
In c:\robocopy there are some files that I would like to copy to c:\robocopy new while preserving the attributes.
The syntax is designed to allow for the handling of paths with empty spaces.
note: There are no spaces between COPY : DAT: I have to write it this way because the editor that formats the code writes COPYAT !!
Code: (Select All)
o$ = "C:\robocopy"
d$ = "c:\robocopy new"
comando$ = "ROBOCOPY " + o$ + " " + CHR$(34) + d$ + CHR$(34) + " /COPY: DAT /E"
SHELL comando$
SYSTEM