- Command line assistance please
- Posted by Charles on March 7th, 2004
I have a particular problem to solve and I expect that it would be possible using command line commands. For each occurrence of a particilar file extension (say .abc), I have to separate out the file name and add a different extension (say def), then manipulate the new filename.extension (the xxx.def) with commands such as MOVE, after which I have to DELETE the original name (xxx.abc)
I believe that the 'forfile' utility in the resource kit will enable me to isolate each occurrence of .abc, but how do I separate the filename from the original extension and add the new extension
Thanks
Charles.
- Posted by Dave Patrick on March 7th, 2004
rename *.abc *.def
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows]
Microsoft Certified Professional [Windows 2000]
http://www.microsoft.com/protect
"Charles" wrote:
| I have a particular problem to solve and I expect that it would be
possible using command line commands. For each occurrence of a particilar
file extension (say .abc), I have to separate out the file name and add a
different extension (say def), then manipulate the new filename.extension
(the xxx.def) with commands such as MOVE, after which I have to DELETE the
original name (xxx.abc).
|
| I believe that the 'forfile' utility in the resource kit will enable me to
isolate each occurrence of .abc, but how do I separate the filename from the
original extension and add the new extension?
|
| Thanks,
| Charles.
- command line prompt showing how long last command took? (Microsoft Windows) by sillyhat@yahoo.com
- Avoiding extra line in Command Line Output (MS-DOS) by Nathan Sokalski
- Help - what is the command line command to launch file explorer? (Linux / Variants) by L
- Newbi Question - what is the command line command for launching the file explorer on RH Linux? (Linux / Variants) by L
- Find the existing of a file by command-line command (Windows NT) by cschang

