Batch file: Worked in Win7/32, doesn't work in Win10/64

Page 2 of 2 FirstFirst 12

  1. Posts : 43,004
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #11

    And thank you for your reply. You've often got to have the RIGHT version of the run-time for a particular program. You can have multiple versions installed. Anyway, I'm now out. Unsubscribed.
      My Computers


  2. Posts : 776
    Windows 7
       #12

    Hobocopy's official downloads page has disappeared, except on the Wayback machine.

    The last version is hobocopy-unstable-64bit-20110505-01, and it requires VC++ 2010. Because it has a .pdb file (for backwards compatibility), you need to be inside the Hobocopy folder and not just call it from a relative path.

    Code:
    C:\Users\GARLIN\Downloads\hobocopy-unstable-64bit-20110505-01>HoboCopy.exe C:\Users\GARLIN\Downloads \TEMP
    HoboCopy (c) 2011 Wangdera Corporation. hobocopy@wangdera.com
    
    Starting a full copy from C:\Users\GARLIN\Downloads to C:\TEMP
    Copied directory
    Backup successfully completed.
    Backup started at 2023-09-13 01:51:10, completed at 2023-09-13 01:51:24.
    5 files (90.40 MB, 1 directories) copied, 0 files skipped
    Code:
    C:\Users\GARLIN\Downloads\hobocopy-unstable-64bit-20110505-01>cd ..
    
    C:\Users\GARLIN\Downloads>HoboCopy-1.0.0.0-W2K3-Vista-32bit-Release\HoboCopy.exe C:\Users\GARLIN\Downloads \TEMP
    HoboCopy (c) 2006 Wangdera Corporation. hobocopy@wangdera.com
    
    Starting a full copy from C:\Users\GARLIN\Downloads to C:\TEMP
    There was a COM failure 0x80042302 - .\HoboCopy.cpp (172)
      My Computer


  3. Posts : 43
    Windows 7
    Thread Starter
       #13

    Thanks a bunch!
      My Computer


  4. Posts : 295
    Windows 10 Pro
       #14

    Did you get it working?

    I use the WinSCP FTP program with its batch file parameters to auto upload to an FTP directory. Scripting and Task Automation :: WinSCP

    I highly recommend WinSCP as an FTP client as it's not only feature rich, but can make use of Amazon AWS S3 buckets and file transfers are binary by default. With the ever popular Filezilla (no relation to Mozilla) they use ASCII as default and that'll jack up your image uploads in a heck of a hurry. I can't tell you how many people at the phpBB help forum rudely found this out before they figured out that they had to change the default from ASCII mode to binary mode. And to make matters worse, it seems the Filezilla Dev is unwillingly to change it.

    For a pretty cool FTP server, I use Serva. PXE Server for Windows (UEFI & BIOS) - Serva (Tip: Right click the Serva top window to select the option to reduce to taskbar).

    Transfer Modes :: WinSCP

    Edit-

    Oops, I see there's a check mark next to the topic title.
    Last edited by User2468; 13 Sep 2023 at 05:39.
      My Computer


  5. Posts : 43
    Windows 7
    Thread Starter
       #15

    Yes. It might be because I discarted the PDB file that was already part of the 32-bit package and hobocopy worked fine in the 32-bit Win7 without it — but am too lazy to give it a try to confirm.

    ncftpput works OK for my need. The issue was how to copy locked files through VSS, which robocopy/xcopy don't support.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:29.
Find Us




Windows 10 Forums