- Jun
- 30
- 0
Consider the following two examples (phase1 is a directory under our current directory):
[C:\TestPad\financial\data]del phase1\*
C:\TestPad\financial\data\phase1\* : Are you sure (Y/N)? Y
TCC: (Sys) There are no more files.
"C:\TestPad\financial\data\phase1\*"
0 files deleted
[C:\TestPad\financial\data]del phase1/*
C:\TestPad\financial\data\phase1\* : Are you sure (Y/N)? Y
TCC: (Sys) There are no more files.
"C:\TestPad\financial\data\phase1\*"
C:\* : Are you sure (Y/N)? N <<<<<<<<<<<<<<<<????
0 files deleted
Okay I made a mistake in the second case by using /* instead of \* - I have been working writing Perl code and it was a slip. Still it did try to clear out phase1 (there were no file in the directory) but why did it come back with a prompt to clear the root of C:?
Of course I first hit this when I failed to read my prompt carefully and did delete files from the root of C:\. Fortunately nothing disastrous was delete :)
Note to self: Read the prompts!!!
David
Oh yes: TCC 14.03.59 x64 Windows 7 [Version 6.1.7601]
[C:\TestPad\financial\data]del phase1\*
C:\TestPad\financial\data\phase1\* : Are you sure (Y/N)? Y
TCC: (Sys) There are no more files.
"C:\TestPad\financial\data\phase1\*"
0 files deleted
[C:\TestPad\financial\data]del phase1/*
C:\TestPad\financial\data\phase1\* : Are you sure (Y/N)? Y
TCC: (Sys) There are no more files.
"C:\TestPad\financial\data\phase1\*"
C:\* : Are you sure (Y/N)? N <<<<<<<<<<<<<<<<????
0 files deleted
Okay I made a mistake in the second case by using /* instead of \* - I have been working writing Perl code and it was a slip. Still it did try to clear out phase1 (there were no file in the directory) but why did it come back with a prompt to clear the root of C:?
Of course I first hit this when I failed to read my prompt carefully and did delete files from the root of C:\. Fortunately nothing disastrous was delete :)
Note to self: Read the prompts!!!
David
Oh yes: TCC 14.03.59 x64 Windows 7 [Version 6.1.7601]