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

WAD Bad behavior in copy /S

Discussion in 'TCC/LE Support' started by JDlugosz, Nov 26, 2012.

  1. JDlugosz

    Joined:
    Nov 10, 2010
    Messages:
    3
    Likes Received:
    0
    I've been using this product since the days of MS-DOS 3. I've always found a command line to be more sensible not subject to the weird dumbing-down of the Windows GUI shell for things like copying a directory and expecting it to just do exactly what I asked.

    But yesterday I tried copying a whole drive to a removable drive for backing it up, and got some funny result. I'm getting page after page of this error:

    TCC: (Sys) The system cannot find the file specified.
    "E:\G\Application CDs\Visual Studio 2003\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\QuickStart\aspplus\samples\localize\old-XP"
    TCC: (Sys) The system cannot find the file specified.
    "E:\G\Application CDs\Visual Studio 2003\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\QuickStart\aspplus\samples\localize\data\old-XP"
    TCC: (Sys) The system cannot find the file specified.
    "E:\G\Application CDs\Visual Studio 2003\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\QuickStart\aspplus\samples\localize\flags\old-XP"
    TCC: (Sys) The system cannot find the file specified.
    "E:\G\Application CDs\Visual Studio 2003\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\QuickStart\aspplus\samples\localize\i18n\old-XP"
    TCC: (Sys) The system cannot find the file specified.
    "E:\G\Application CDs\Visual Studio 2003\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\QuickStart\aspplus\samples\localize\i18n\cs\old-XP"
    TCC: (Sys) The system cannot find the file specified.
    "E:\G\Application CDs\Visual Studio 2003\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\QuickStart\aspplus\samples\localize\i18n\js\old-XP"​

    where every directory it encounters during its /S scan is followed by "old-XP" and then not found. Nothing is being copied.

    The last thing it did copy was
    E:\G\old-XP System Cassini\Program Files\Home Automation\​
    and started goofing off apparently on the next sibling directory to that.

    VER tells me:

    TCC LE 13.04.63 x64 Windows 7 [Version 6.1.7601]
    TCC LE Build 63 Windows 7 Build 7601 Service Pack 1
    The command I issued was:
    copy . x: /s /H /Q​

    What happened?
    —John
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,729
    Likes Received:
    80
  3. JDlugosz

    Joined:
    Nov 10, 2010
    Messages:
    3
    Likes Received:
    0
    N means "don't really do it" and J means "restartable"
    How will that help?
     
  4. Stefano Piccardi

    Joined:
    May 31, 2008
    Messages:
    376
    Likes Received:
    2
    No, /NJ means don't follow junctions. /N /J means don't do restartable.
     
  5. Stefano Piccardi

    Joined:
    May 31, 2008
    Messages:
    376
    Likes Received:
    2
    Another thought, maybe the error message really refers to an issue with the target path as opposed to the source path.
    Does the target file full path length exceed some system limit?
     
  6. JDlugosz

    Joined:
    Nov 10, 2010
    Messages:
    3
    Likes Received:
    0
    I looked at the Help page again (type "copy" and press F1), and on closer examination see the expanded meaning of /N. Maybe the blue summary table at the top can show that /N takes another optional character. Especially for people who have used it for years and "know" all the commands!

    The directory I'm copying doesn't have junctions; but I'll double-check.

    The target is also NTFS, and an error opening the dest file would not then make the source tree scanning start giving wrong results!
     

Share This Page