??? `"` as a WILDCAT (like *.*) ???

  • Thread starter Thread starter Mazi
  • Start date Start date
M

Mazi

Hi,

Can anyone who runs a Win2k3 Enterprise Server please confirm that `del "` =
`del *.*` = `del *` under CMD.exe? If so, why I get "File Not Found" when I
do `dir "gif` in a directory that had some .gif files. If not, why my
directory becomes empty when I do `del "` (`del /s "` also removes all files
subdirectories of the path)? Is this a bug or documented somewhere?

Thanks.
 
Hi Jetro,

I did not see any reference to `del "` or any use of `"` (quotation as a
wildcat) from the link you stated below.
 
Quotation mark is a part of long file name recognition when name length
exceeds 12 symbols or has spaces inside. CMD.EXE can process LFN without
using quotes but anyway the quotes are there.

" (quotation mark) is not a wildcard. Commands 'dir "gif' (q-mark) and 'dir
"*gif' (q-mark-asterisk) differ. OTOH, commands 'del "' and 'del "*' provide
the same result, so be careful.
 
Back
Top