windows - why "dir /B file.eps|del " is wrong? -
there file named "file.eps" in current directory, , want delete file. know can simple use
del file.eps
but can't understand why
dir /b file.eps|del
didn't work. dir /b file.eps
gives file, , should transferred del
through pipe.
del can't use inputs list or redirective.
for example, file list.txt including filenames deleted, can't processed in way del < list.txt
.
so, syntax correct, problem del.
Comments
Post a Comment