How do I save a file in notepad with a different extension?

0
(0)

If you’ve ever tried saving a file from notepad with a different file extension,you might find that sometimes it works,but sometimes it doesn’t.

Example: you save a file as index.php and it turns out it’s call index.php.txt

The problem is that notepad will often add a .txt extension to the file even if you have specified one in the filename.

Solution: when you type in the file name, put double-quotes on either side of the name and is will save it “as-is”

Example: “index.php”


How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

As you found this post useful...

Follow us on social media!

About Author


David Cropley

Dave has been programming computers for over 30 years. It's more of an obsession than a hobby! As well as having his own moderately successful Crystals retail business, Dave used to work as a Web Developer for a company called Radikls, a web design company in the South of the UK. Dave is also a member of the presitgious Havik eSports Team.

Leave a Reply