Users who want to create a bat file usually start by creating a text document in Windows and change the file extension afterwards to bat. The same principle is used when creating other formats like html documents. The following tip is not limited to Windows Explorer or text documents. It works as well in web browsers like Internet Explorer or Firefox, email clients like Mozilla Thunderbird and Microsoft Outlook and practically any program that is offering to save files.
The save as file dialog is usually offering a few file formats a document can be saved in. This limitation can be overridden by putting the name and file extension in quotation marks.
It is therefor possible to save information in different data formats even if they are not supported by the software program. It is even possible to select data formats that are not compatible at all with the data. A text document could be saved as an excel document or zip file. This will obviously throw an error when trying to open the file unless the right viewer is selected.Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.