• robocopy problem...

    From Shurato@21:2/148 to All on Sun Jul 20 14:31:00 2025
    If I run a robocopy command from a batch file, it complains that there is no destination. If I run exactly the same command from the command line, it works! Whats up? I'd really like to mirror to onedrive...

    --
    Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp,
    ,wss) (Ports 22,23,110,21,119,999)


    *** THE READER V4.50 [freeware]
    ---
    * Origin: Shurato's Heavenly Sphere telnet://shsbbs.net (21:2/148)
  • From Dumas Walker@21:1/175 to SHURATO on Tue Jul 22 10:56:16 2025
    If I run a robocopy command from a batch file, it complains that there is no destination. If I run exactly the same command from the command line, it works! Whats up? I'd really like to mirror to onedrive...

    I am not familiar with robocopy at all but does it maybe have a switch for "unattended" or "batch" processing that you might need to add to the batch
    file version?

    Seems like I have run into some programs, from time to time, that run differently when called from a batch file (vs. running from the command
    line). The difference can sometimes be fixed by including some additional command line option in the batch file.

    Just a wild guess. ;)


    * SLMR 2.1a * A restless eye across a weary room...
    --- SBBSecho 3.28-Linux
    * Origin: capitolcityonline.net * Telnet/SSH:2022/HTTP (21:1/175)
  • From Nightfox@21:1/137 to Shurato on Tue Jul 22 10:09:26 2025
    Re: robocopy problem...
    By: Shurato to All on Sun Jul 20 2025 02:31 pm

    If I run a robocopy command from a batch file, it complains that there is no destination. If I run exactly the same command from the command line, it works! Whats up? I'd really like to mirror to onedrive...

    I was just using robocopy at work recently. I haven't encountered this issue, but it looks like there are some things online. A couple links:

    https://community.spiceworks.com/t/robocopy-no-destination-directory-specified/ 711817

    https://superuser.com/questions/894145/robocopy-unable-to-distinguish-destinati on-from-source

    Nightfox
    --- SBBSecho 3.29-Linux
    * Origin: Digital Distortion: digdist.synchro.net (21:1/137)
  • From Shurato@21:2/148 to Nightfox on Tue Jul 22 12:21:00 2025

    * In a message originally to Shurato, Nightfox said:

    Re: robocopy problem... By: Shurato to All on Sun Jul 20 2025 02:31
    pm

    If I run a robocopy command from a batch file, it complains that
    there is
    no destination. If I run exactly the same command from the command
    line,
    it works! Whats up? I'd really like to mirror to onedrive...

    I was just using robocopy at work recently. I haven't encountered this issue, but it looks like there are some things online. A couple links:

    https://community.spiceworks.com/t/robocopy-no-destination-directory-specif ied/ 711817

    https://superuser.com/questions/894145/robocopy-unable-to-distinguish-desti nati on-from-source

    Thanks, it looks like the final \ is being escaped. I'll try that.

    --
    Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp,
    ,wss) (Ports 22,23,110,21,119,999)


    ---
    * Origin: Shurato's Heavenly Sphere telnet://shsbbs.net (21:2/148)