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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Does _base64decode$ and _inflate$ work when used together? Dav 5 518 11-21-2025, 06:59 AM
Last Post: Pete
  CAN someone please get the graphics in this to work? Dragoncat 3 632 05-07-2025, 12:17 PM
Last Post: bplus
  GetWindowTextW - can you get it to work? TerryRitchie 12 2,951 06-11-2024, 11:17 AM
Last Post: SpriggsySpriggs
  Does _MapTriangle work in a user defined Window? bplus 12 2,215 02-16-2024, 01:40 AM
Last Post: bplus
Bug I want it to work so bad.... NasaCow 39 8,929 11-30-2022, 10:30 PM
Last Post: bplus

Forum Jump:


Users browsing this thread: 1 Guest(s)