If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
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. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
missing .dll file, windows won't load | greg | Setup & Installation | 3 | October 25th 04 09:45 PM |
Help! SE won't boot | Ken Knecht | Setup & Installation | 8 | October 2nd 04 01:55 PM |
Folder Named [C:\Program] Opens Automatically on Start | Ted Belben | General | 2 | September 16th 04 11:39 PM |
Please help! Display settings !! | Mitzi | Monitors & Displays | 12 | July 11th 04 05:19 AM |
Win98SE - problem with USB printer | HBYardSale | Software & Applications | 2 | June 20th 04 06:27 PM |