Search found 2 matches

by swfisher
22 May 2014 21:19
Forum: DOS Batch Forum
Topic: Keep Original File Name When Renaming File Extension
Replies: 6
Views: 6709

Re: Keep Original File Name When Renaming File Extension

Sometimes we can have files with .ps1, .ps2, .ps3 etc. extensions. It's not the same file extension every time. How could I add all of these in the batch file and if it's a file with any of these extensions it will change it to the original file name plus the .ps extension?

Thanks

-stephen
by swfisher
22 May 2014 12:58
Forum: DOS Batch Forum
Topic: Keep Original File Name When Renaming File Extension
Replies: 6
Views: 6709

Keep Original File Name When Renaming File Extension

I am trying to rename files in a directory from .ps5 format to .ps using a batch file. How can I rename the file and keep the original file name without having to manually putting the file name in the batch file. For example, if I put a file named 12345.ps5 into folder C:\RenameFile and run the batc...