1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Recursive move aborts early

Discussion in 'Support' started by wingo395, Apr 25, 2017.

  1. wingo395

    Joined:
    Aug 31, 2009
    Messages:
    19
    Likes Received:
    0
    Greetings,

    I have had this problem with recursive move commands from time to time, but finally decided to post about it.

    Description of what I'm trying to do:
    I have a folder, I:\H_drive!\DCIM\, which contains photos and videos from various digital cameras. I am trying to recursively move certain files (via wildcards) from that folder to a new DCIM folder off the root of the same drive ( I:\DCIM\ ). When I issue the move command, TCC starts going down through the folders, but then stops early:

    I:\H_drive!\DCIM>move *.jpg I:\DCIM\ /so
    TCC: (Sys) The system cannot find the file specified.
    "I:\H_drive!\DCIM\*.jpg"
    TCC: (Sys) The system cannot find the file specified.
    "I:\H_drive!\DCIM\Canon\*.jpg"
    TCC: (Sys) The system cannot find the file specified.
    "I:\H_drive!\DCIM\Canon\2012.05.26\*.jpg"
    TCC: (Sys) The system cannot find the file specified.
    "I:\H_drive!\DCIM\Canon\2012.05.26\20120526\*.jpg"
    TCC: (Sys) The directory is not empty.
    "I:\H_drive!\DCIM\Canon\2012.05.26\20120526"
    TCC: (Sys) The directory is not empty.
    "I:\H_drive!\DCIM\Canon\2012.05.26"
    TCC: (Sys) The directory is not empty.
    "I:\H_drive!\DCIM\Canon"

    0 files moved

    As can be seen, there a LOT of folders below "2012.05.26", and more folders below the Canon subdirectory in DCIM, yet the move command just stops...

    I:\H_drive-Pray_for_the_files!\DCIM\Canon\
    ├──2012.05.26
    │ └──20120526
    ├──2012.05.27
    │ └──20120527
    ├──2012.06.03
    │ └──20120603
    ├──2012.06.09
    │ └──20120609
    │.....

    etc.

    I checked the help file and forums, but have found nothing.

    All help appreciated, thank you!

    Gary
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,809
    Likes Received:
    82
    You didn't say what version of TCC and what version of Windows you're running.

    Only two things can abort a MOVE /S:

    1) A fatal Windows error. If you want to continue anyway, you can try adding the /Ne option.

    2) Something throwing an exception in the move function in TCC. (This could be TCC itself, a Windows dll, or a third-party dll that has injected itself into TCC.) If TCC is throwing the exception, you will have a tcc.exception.log file (if you're running a recent version of TCC) that contains the error info. If you have an error log file, please forward it to support@jpsoft.com.
     
  3. wingo395

    Joined:
    Aug 31, 2009
    Messages:
    19
    Likes Received:
    0
    So sorry, Rex, can't believe I omitted that.
    TCC 20.11.46 x64 Windows 7 [Version 6.1.7601]
    TCC Build 46 Windows 7 Build 7601 Service Pack 1

    tcc.exception.log is a 2-byte file consisting of 0xff 0xfe

    I'll try the /Ne option - not sure what could be fatal about recursing though..
    Just thought of something, I do have Charles Dye's ISO8601.dll in my plugins folder.
    Not sure if that could be a problem or not, but it's easy enough to test....
    Okay, the plugin wasn't the problem.

    /Ne did work - the recursion continued and the files were moved. I'd prefer not to have to use that in my move commands, I'd rather know what is going on, but if I have to rely on that, I will.

    Thanks, Rex!
     

Share This Page