No of visitors who read this post: 197
Category: Storage Misc
Type: Question
Author: Aloha Ortiz
No votes yet

Hello experts

I want to rename a file to Name_ddmmyyyy.txt format file. How to apply windows batch file to this process??
Mention that, the original format is fileName.txt

Need your help. Thanks.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

#

Hi

You want to change the format text of the .txt file and save the file into another format so to do this follow the instruction given below:

1. Open the .txt file in any of the software like in Microsoft Word and then save as the file in whatever format you want so this the very easy way to do this. You can easily convert file to any of the format you want this is one of the easy way to do this. It will take hardly two minutes to change the format of the .txt file. Hope this solution will helpful for you to do what you want to do and you can easily convert your file to any format through this solution.

# (Solution Accepted)

hi guy

I think you wanna create a bat file from the typed txt file . 

You can just try renaming it from  fileName.txt to  fileName.bat 

or if that doeasnt opens means 

just go to run by clicking  on start or by shortcut press win key + r 
and then type cmd and the commacn prompt window appears now type edit fileName.bat
Now another blue box appears now copy paste the contents of your  fileName.txt to it and then save it to any destination you wish. Please note that this is the genuine method of creating a .bat file . 

I have attached a screenshot of doing this 

#

Thank you Lesten Pasio! Your solution really helped. I was able to rename my files. Good thing you have attached a screencap, or less I got lost. Thank you very much.

Thanks TechyV!