Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Other Extensions with Notepad  (Read 15319 times)

0 Members and 1 Guest are viewing this topic.

Dilbert

    Topic Starter
  • Moderator


  • Egghead

  • Welcome to ComputerHope!
  • Thanked: 44
    Other Extensions with Notepad
    « on: April 07, 2006, 02:22:01 PM »
    Question
    Is there a way to save a file other than a .txt file in Notepad?

    Answer
    Yes. You can make any file you want. This is useful for creating things like JavaScripts, batch files, and even programs (they still must be compiled, however). Notepad will try to append a .txt extension on your file. To override this:

    1. Go to File, and Save As...
    You should see something like this:



    2. Note where it says "Save as Type". Select this drop-down menu, and select "All files(*.*)". Save where you wish to save, but remember to append the correct extension. Notepad doesn't know; you must specify this yourself. Javascripts are .js, C++ files are .cpp, batch is .bat,  et cetera.

    3. Save the file if you have not already done so.

    Remember that you can open these files again with Notepad or another program later if you want to.
    « Last Edit: March 30, 2007, 03:11:53 AM by Dilbert »
    "The geek shall inherit the Earth."