September 13, 200817 yr Ok so I have been having trouble getting a rather simple batch file to work. All it's suppose to do is delete all .ini and .jpg files out of my music folders but everytime I run it it doesn't delete anything. This is most probably 'n logic error on my side but I have been doing some research on various sites but I can't find any problem.Here is what I have atm :del /F /S "D:\Stuff\Media\Music\*.ini"del /F /S "D:\Stuff\Media\Music\*.jpg"Thanks
September 13, 200817 yr Add the PAUSE command as a last line of your file in order to read any output messages!Also there's little reason to expect jpg and/or ini files to be read only thus negating the /f switch.I would also suggest that you navigate to the required parent directory then invoke your deletions using the appropriate switches.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now