A Windows 98 & ME forum. Win98banter

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.

Go Back   Home » Win98banter forum » Windows 98 » Shell
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

Changing multiple file names at once in DOS



 
 
Thread Tools Display Modes
  #1  
Old December 1st 04, 07:59 PM
Tom
external usenet poster
 
Posts: n/a
Default 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  
Old December 1st 04, 09:17 PM
Franc Zabkar
external usenet poster
 
Posts: n/a
Default

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 11:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.