|
Answer» A curiosity:
In order to ERASE all documents finished in letter c, it's possible to be made:
del *.*c
but ¡be careful! also delete the archives that have letter c in 3 position:
X:\>dir El volumen de la unidad X es WINDOWS El número de serie del volumen es: E04F-EDB2
Directorio de X:\
08/01/2006 21:12 <DIR> . 08/01/2006 21:12 <DIR> .. 03/02/2006 10:29 73 prueba.bat 27/09/2005 13:55 2.023 interfaz_de_usuario.gif 07/02/2006 15:41 <DIR> olds 20/12/2005 16:35 16.074 carta.doc 07/02/2006 15:40 45.056 basura.doc 07/02/2006 15:39 43.520 mw.doc 07/02/2006 15:37 392 top.secret <== This document will be deleted 07/02/2006 15:48 3.632 pingo.c 7 archivos 110.770 bytes 3 DIRS 1.178.927.104 bytes libres
The command del *.*c will delete any file that has the letter "c" ending in the extension. Try using del *.??c to delete files with "c" in the third posiiton of the extension where the extension is three CHARACTERS. You can EXTEND this with del *.??c* which will delete any file that has a "c" in the third position of the extension. Using wildcards, while helpful, can lead to unexpected results.
Good luck. 8-)
|