ok well my issue here is that i am not using, cd, rather i am running it from a .bat file Code: @echo off echo ------------------- echo Deletes GB1 Files echo ------------------- del docs *.gb1 /S /Q echo Delete Complete! Pause.
when i do that it deletes all files with .gb1 extension in the folder it is in and it deletes the contents of docs, even the ones that are not .gb1 files
THanks very much
EDIT GOT IT TO WORK BY CHANGING IT TO THIS Code: @echo off echo ------------------- echo Deletes GB1 Files echo ------------------- cd *docs del *.gb1 /S /Q echo Delete Complete! Pause.
open the folder , then use the button Search at the top
ReplyDeletesearch for *.gb1
then select them all and delete
ok well my issue here is that i am not using, cd, rather i am running it from a .bat file
ReplyDeleteCode:
@echo off
echo -------------------
echo Deletes GB1 Files
echo -------------------
del docs *.gb1 /S /Q
echo Delete Complete!
Pause.
when i do that it deletes all files with .gb1 extension in the folder it is in and it deletes the contents of docs, even the ones that are not .gb1 files
THanks very much
EDIT GOT IT TO WORK BY CHANGING IT TO THIS
Code:
@echo off
echo -------------------
echo Deletes GB1 Files
echo -------------------
cd *docs
del *.gb1 /S /Q
echo Delete Complete!
Pause.