I have and batch script to execute a command to delete several ext. Example:
set /p drive=Choose the letter of usb:
if %drive%== E goto E
Example (if you choose E)
E:
del /f /q E:\*.lnk *.inf *.init
But only delete the first one (*.lnk). The rest to redirect to the drive c (where i execute batch) Example:
Can't find C:\*.inf
I don't want to do this:
del /f /q E:\*.lnk
del /f /q E:\*.inf
del /f /q E:\*.init
How to fix it? Thanks