May 10, 2024
Contribute to the Windows forum!
Click here to learn more 💡
May 10, 2024
Windows 7 Top Forum Contributors:
Bill Smithers - LemP ✅
May 10, 2024
Windows 7 Forum Top Contributors:
Bill Smithers - LemP ✅
How do i change a .txt file to a .bat file?
I need it it for my hamachi Bukkit server on Minecraft.
Thank you
Report abuse
Thank you.
Reported content has been submitted
Hi,
A bat file is a text file, just a special sort, one that has executable instructions in it.
You can rename files with a .bat extension to have a .txt extension and vice versa (right click and then choose Rename). To rename you may need to make extensions visible...
- In Control Panel/Folder Options click the View tab
- Untick the box for 'Hide extensions for known file types'
- Click OK
You can open either with a text editor such as notepad, though a .bat file may have to be right clicked and then choose the Edit option rather than Open (Open means execute the code in the bat file).
You can 'Save As' in a text editor such as notepad, in either format, by specifying the extension explicitly.
Tricky
Report abuse
Thank you.
Reported content has been submitted
349 people found this reply helpful
·Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Open the notepad. Type all the commands that you wish you write.
go to File -> save as -> under save as type select "All files"
now type the name with extension .bat example : example.bat and click on save. That should do it.Let us know.
www.troubleshootwindows.com
Report abuse
Thank you.
Reported content has been submitted
277 people found this reply helpful
·Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.