Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Even robocopy doesn't work
#1
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  !!

Code: (Select All)

o$ = "C:\robocopy"
d$ = "c:\robocopy new"

comando$ = "ROBOCOPY " + o$ + " " + CHR$(34) + d$ + CHR$(34) + " /COPY: DAT /E"
SHELL comando$

SYSTEM
Reply


Messages In This Thread
Even robocopy doesn't work - by krovit - 08-14-2024, 01:57 PM
RE: Even robocopy doesn't work - by krovit - 08-14-2024, 07:21 PM
RE: Even robocopy doesn't work - by krovit - 08-14-2024, 07:32 PM
RE: Even robocopy doesn't work - by mdijkens - 08-15-2024, 11:36 AM



Users browsing this thread: 4 Guest(s)