WAD Strange output from DEL of a non-existent directory

Folks,

TCC 17.00.70 x64 Windows 7 [Version 6.1.7601]

This one has me completely confused. I'm in the throes of testing a new NAS box and I've just knocked up a batch file to perform a set of copy tests. The first thing it does before starting the copies is to remove all existing output from the target directory and then recreate it. However, the first time I ran it, I got this output (the L, M and Z partitions are all mapped to different shares on the NAS whereas the D is a local disk and probably did actually have a test\in already, the input commands are in bold (but as echoed by the batch processor, so yes I have an alias for del, it adds the /l switch):

del /l /x /z /s /q /y d:\test\in
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [6] There are no more files.
"D:\test\in\*"
md d:\test\in
del /l /x /z /s /q /y l:\test\in

TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\big_20GB\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\big_20GB"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\4dos\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\4dos"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\barbierc\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\barbierc\Program\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\barbierc\Program"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\barbierc\Resources\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\barbierc\Resources\DesktopHorse\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\barbierc\Resources\DesktopHorse"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\barbierc\Resources\Photos\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\barbierc\Resources\Photos"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\barbierc\Resources\Prefs\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\barbierc\Resources\Prefs"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\barbierc\Resources\Saved Games\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\barbierc\Resources\Saved Games"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\barbierc\Resources"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\barbierc"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\CDs\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\CDs"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\jpbeta\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\jpbeta"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\keditw\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\keditw"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\menolly\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\menolly\docs\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\menolly\docs"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\menolly\games\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\menolly\games\lr2\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\menolly\games\lr2"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\menolly\games"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\menolly"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\takecmd\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\takecmd"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\athlon_backups\Tidy95\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups\Tidy95"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\athlon_backups"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\Badgers\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\Badgers"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\Data\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\Data"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\DiskImgs\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\DiskImgs"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\Games\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\Games"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\Junk Bucket\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\Junk Bucket\PowerReg\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\Junk Bucket\PowerReg"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\Junk Bucket"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\newpii_backups\Registry\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups\Registry"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\newpii_backups"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The system cannot find the file specified.
"L:\test\out\Small_20GB\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out\Small_20GB"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test\out"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [8] The directory is not empty.
"L:\test"
md l:\test\in
del /l /x /z /s /q /y m:\test\in

TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\big_20GB\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\big_20GB"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\4dos\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\4dos"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\barbierc\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\barbierc\Program\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\barbierc\Program"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\barbierc\Resources\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\barbierc\Resources\DesktopHorse\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\barbierc\Resources\DesktopHorse"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\barbierc\Resources\Photos\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\barbierc\Resources\Photos"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\barbierc\Resources\Prefs\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\barbierc\Resources\Prefs"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\barbierc\Resources\Saved Games\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\barbierc\Resources\Saved Games"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\barbierc\Resources"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\barbierc"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\CDs\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\CDs"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\jpbeta\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\jpbeta"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\keditw\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\keditw"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\menolly\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\menolly\docs\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\menolly\docs"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\menolly\games\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\menolly\games\lr2\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\menolly\games\lr2"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\menolly\games"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\menolly"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\takecmd\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\takecmd"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\athlon_backups\Tidy95\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups\Tidy95"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\athlon_backups"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\Badgers\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\Badgers"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\Data\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\Data"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\DiskImgs\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\DiskImgs"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\Games\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\Games"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\Junk Bucket\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\Junk Bucket\PowerReg\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\Junk Bucket\PowerReg"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\Junk Bucket"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\newpii_backups\Registry\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups\Registry"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\newpii_backups"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\Small_20GB\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out\Small_20GB"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test\out"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The directory is not empty.
"M:\test"
md m:\test\in
timer on

It looks like the del, having not found the in directory within test is then working its way through the out subdirectory of test, which does exist and has a structure beneath it, trying to add an in subdirectory to each one. Fortunately, it does not appear to have actually deleted any files within that structure, best as I can tell, so this appears to be cosmetic but worrying.
 
May 20, 2008
11,432
99
Syracuse, NY, USA
I think they're pretty normal error messages, triggered when WIN32 functions fail. The option "/e" should suppress them.
Code:
v:\> md test\in

v:\> del /l /x /z /s /q /y v:\test\in
TCC: (Sys) There are no more files.
 "V:\test\in\*"

v:\> md test\in

v:\> del /l /x /z /s /q /y /e v:\test\in

v:\>
 
I think they're pretty normal error messages, triggered when WIN32 functions fail. The option "/e" should suppress them
Agreed, the message you get is normal, but that is not all I'm seeing (and I don't want to suppress the message about the directory not existing).

Upon reflection my first post, which was produced in a rush before leaving for work this morning, was not of the best. So perhaps the following offers a better example of what I'm seeing:

Code:
D:\Users\Steve\AppData\Local\JPSoft>tree g:\test\

G:\test\
├──in
└──out
   ├──Big_20GB
   └──Small_20GB

D:\Users\Steve\AppData\Local\JPSoft>del /s /x /z g:\test\in
G:\test\in\* : Are you sure (Y/N)? Y
TCC: (Sys) There are no more files.
"G:\test\in\*"
Removing G:\test\in\
0 files deleted

D:\Users\Steve\AppData\Local\JPSoft>del /s /x /z g:\test\in
TCC: (Sys) The system cannot find the file specified.
"G:\test\in"
TCC: (Sys) The system cannot find the file specified.
"G:\test\out\in"
TCC: (Sys) The system cannot find the file specified.
"G:\test\out\Big_20GB\in"
TCC: (Sys) The directory is not empty.
"G:\test\out\Big_20GB"
TCC: (Sys) The system cannot find the file specified.
"G:\test\out\Small_20GB\in"
TCC: (Sys) The directory is not empty.
"G:\test\out\Small_20GB"
TCC: (Sys) The directory is not empty.
"G:\test\out"
TCC: (Sys) The directory is not empty.
"G:\test"
0 files deleted

D:\Users\Steve\AppData\Local\JPSoft>

I then had a brainstorm and wondered whether adding the closing \ to indicate that I'm expecting this to be a directory (which I am) would fix it, and it does (sort of):

Code:
D:\Users\Steve\AppData\Local\JPSoft>del /s /x /z g:\test\in\
TCC: (Sys) The system cannot find the path specified.
"G:\test\in\"
TCC: (Sys) The system cannot find the file specified.
"G:\test\in"
0 files deleted

D:\Users\Steve\AppData\Local\JPSoft>

I think that example makes it more obvious what is going on in the first example in that 'in' could be a directory within test or a file, and it is the search for the latter (which I don't want) which is causing the error messages. I think the second message in the second example is spurious, but it at least gives me a reasonable solution.

FWIW I cannot find any way to change this from a BUG but I'm sure Rex will downgrade it to WAD soon enough ;)
 
Last edited:
Jan 19, 2011
604
14
Norman, OK
I think they're pretty normal error messages, triggered when WIN32 functions fail.

How can they be normal errors when at no time was the "M:\test\out" directory referenced in the command?

del /l /x /z /s /q /y m:\test\in
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\in"
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [10] The system cannot find the file specified.
"M:\test\out\big_20GB\in"
 
Sorry John, I edited my post after you'd replied, but I think the second example makes it apparent that in the first example Take Command has to search the whole of test for a file or directory named in not just the directory that isn't there.
 
May 20, 2008
11,432
99
Syracuse, NY, USA
How can they be normal errors when at no time was the "M:\test\out" directory referenced in the command?
He asked TCC to look in m:\test and subdirectories and delete things named "in". So it looks for "in" in every directory in the tree.

I never appreciated all the "file not found" messages that TCC can produce but some folks might. Especially with "/S", unless a target is found in every subdirectory, you're going to get error messages. I just tried to delete *.tmp on a whole drive ... 6 files deleted and about 700 error messages! Sure, I can suppress them with "/E", But what if I want to see the meaningful ones like "the file is in use by another process"?
 
May 20, 2008
11,432
99
Syracuse, NY, USA
(continuing my last paragraph) ... the messages that tell me the command couldn't do what I wanted it to do. Maybe suppressing "file not found" messages should have its own switch.
 
Similar threads
Thread starter Title Forum Replies Date
R WAD Strange output from "memory" command Support 1
Charles Dye Strange output, here-doc redirection, TYPE, //UnicodeOutput=Yes Support 6
R strange bug? Support 7
Jesse Heines Strange Line Wrapping Behavior Support 14
F strange results Support 9
M Strange error messages from TCC in FTP copy Support 7
M Another possibly strange remote registry issue Support 5
forbin Strange handling of [nonbright] magenta background (v22) Support 2
N Fixed Strange dir behavior Support 6
vefatica REGDIR, strange error message Support 7
T WAD Strange Unexpected "features" in the Debugger Support 2
P Strange mouse behavior with list Support 2
vefatica Strange tcc.exception.log Support 7
vefatica A strange one Support 0
D Strange DO behavior with /O Support 5
Glenn Bowes Strange text at startup Support 5
vefatica Big numbers, strange errors Support 1
aedthuio Strange... lpksetup Support 4
CWBillow dir /4 strange Support 2
D Strange issue with FOR loop Support 15
MikeBaas Strange prob with %@replace.. Support 4
vefatica OT: strange files in %TEMP Support 10
Dan Glynhampton Documentation v15 help: Strange links in @INT topic Support 0
M Yet another strange something re something called "@TCONVERT" Support 8
Roedy How to? Strange colours Support 9
M WAD Strange "Start" misbehavior... Support 10
vefatica Very strange console font corruption Support 3
Steve Pitts Strange problem with FREE Support 10
A strange error in alias Support 9
newgeekorder Debugger IDE - strange tab and parameter behaviour Support 1
Exolon Strange Prompt. Support 6
vefatica Strange folders Support 1
T Strange CPU value Support 3
J Strange error: unset /s Support 14
M Strange behavior... Support 2
CWBillow Strange happenings Support 2
B Strange handling of a .BAT file Support 5
vefatica Strange behavior reloading SHRALIAS sav files. Support 1
J ASSOC / FTYPE strange error message Support 3
D Strange crashes in @CRC32 and @MD5 Support 9
S Strange CHKDSK behavior Support 6
vefatica Strange results with CP 1252 Support 12
S Strange REN problem - non-English characters Support 3
dcantor Strange status in ACTIVATE command Support 0
A How to? TEE - duplicate output to STDERR Support 3
FreezerBurnt ANSI Prompt messes up list output. Support 39
Ó Recent git output not shown on TCC Support 1
Peter Murschall TEE cannot handle Unicode output Support 2
C TEE command appending null characters to output Support 6
Jesse Heines webform output different in ver. 26 than ver. 25 Support 2

Similar threads