Changing multiple file names at once in DOS
How do I add a 'p' to the end of all files within a
folder in DOS. I also need to be able to remove the 'p' at a later date with one command string. |
On Wed, 1 Dec 2004 13:59:17 -0500, "Tom"
put finger to keyboard and composed: How do I add a 'p' to the end of all files within a folder in DOS. You really need to supply more specific information. For example, when you say "DOS", do you really mean DOS or a Windows 98 DOS box? Plain DOS does not understand long filenames, it only knows about filenames in 8.3 format. Can you give some examples of what you want to do? For example, how do want to process a filename such as a.b.c.txt? I also need to be able to remove the 'p' at a later date with one command string. Better newsgroups for this type of question would be comp.os.msdos.misc and alt.msdos.batch. With certain limitations you could experiment with a command such as the following: for %v in (*) do ren "%v" "%vp" - Franc Zabkar -- Please remove one 's' from my address when replying by email. |
All times are GMT +1. The time now is 09:34 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Win98Banter.com