[PCWorks] How to create a batch file to rename a file, then rename it back?

  • From: "Clint Hamilton-PCWorks Admin" <PCWorks@xxxxxxxxxxxxxxxxxxxxxxxx>
  • To: "PCWorks@xxxxxxxxxxxxx" <pcworks@xxxxxxxxxxxxx>
  • Date: Tue, 22 Jul 2008 09:35:06 -0500

Can anyone please tell me how to make a batch file to rename a 
file, then another one to rename it back to the original name? 
I want to be able to click one that will rename a file back to 
it's original name, then another one to click that will rename 
it to something else.  It may have to do this in two folders at 
the same time since the file is found in two different folders, 
and one folder location will try and "call from the other" to 
override the batch file and put the file back the way it was.

I've tried searching for this and all I can find are programs 
that rename in large batches, or doing it in DOS.  The batch 
file needs to be run in XP.
Thanks,
-Clint

God Bless
Clint Hamilton, Owner
http://www.OrpheusComputing.com
http://www.ComputersCustomBuilt.com


=========================
The list's FAQ's can be seen by sending an email to 
PCWorks-request@xxxxxxxxxxxxx with FAQ in the subject line.

To unsubscribe, subscribe, set Digest or Vacation to on or off, go to 
//www.freelists.org/list/pcworks .  You can also send an email to 
PCWorks-request@xxxxxxxxxxxxx with Unsubscribe in the subject line.  Your 
member list settings can be found at 
//www.freelists.org/cgi-bin/lsg2.cgi/l=pcworks .  Once logged in, you have 
access to numerous other email options.  

The list archives are located at //www.freelists.org/archives/pcworks/ .  
All email posted to the list will be placed there in the event anyone needs to 
look for previous posts.
-zxdjhu-

Other related posts:

  • » [PCWorks] How to create a batch file to rename a file, then rename it back?