I would like to know to make a .bat file that will remove an extension from a file (or many files) that could be located anywhere on my computer.
For example:
C:\MyBackups\090809.tif
C:\TEST\090809.tif
D:\Backups\090809.tif
to
C:\MyBackups\090809
C:\TEST\090809
D:\Backups\090809
(I used .tif as an example, but I want to be able to adapt it so it will delete any extension)
I would also like this .bat to run each time Windows boots - in the background (without a DOS screen)
Is this possible ?
If so, please post exactly what I need to put in my .bat (and exactly where to put it - {root drive?})
Thank you !
EDIT: Moved to a better forum for this subject
For example:
C:\MyBackups\090809.tif
C:\TEST\090809.tif
D:\Backups\090809.tif
to
C:\MyBackups\090809
C:\TEST\090809
D:\Backups\090809
(I used .tif as an example, but I want to be able to adapt it so it will delete any extension)
I would also like this .bat to run each time Windows boots - in the background (without a DOS screen)
Is this possible ?
If so, please post exactly what I need to put in my .bat (and exactly where to put it - {root drive?})
Thank you !
EDIT: Moved to a better forum for this subject
This post has been edited by garmanma: 10 September 2009 - 11:54 AM

Help
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Back to top









