View Full Version : dumb XP question
Lethal
03-21-2005, 02:50 AM
Okay, so I used to be a Mac user. I coded all my web pages to end with the .html extension. Now XP wants to give everthing extensions automatically, so it's defaulting any page I download and work on to a .htm extension. Then I have to rename it to .html after I upload via ftp.
How the heck do I make XP understand that I want the .html extension instead of .htm?
Malk-a-mite
03-21-2005, 04:24 AM
any page I download and work on to a .htm extension.
What are you using to download the page with?
pweegar
03-21-2005, 11:06 AM
Okay, so I used to be a Mac user. I coded all my web pages to end with the .html extension. Now XP wants to give everthing extensions automatically, so it's defaulting any page I download and work on to a .htm extension. Then I have to rename it to .html after I upload via ftp.
How the heck do I make XP understand that I want the .html extension instead of .htm?
Arent HTM and HTML the same???? Try going into the control panel, and click on folder options. Then File Type. Also do a search for "File extensions" in help. It gives info on how to change file extension assoc's.
Laforge
03-21-2005, 12:17 PM
Okay, so I used to be a Mac user. I coded all my web pages to end with the .html extension. Now XP wants to give everthing extensions automatically, so it's defaulting any page I download and work on to a .htm extension. Then I have to rename it to .html after I upload via ftp.
How the heck do I make XP understand that I want the .html extension instead of .htm?
That's not an "XP" thing, it's an editor thing. what html editor are you using?
lomn75
03-21-2005, 12:36 PM
I have no idea how to override XP's preference for ".htm" -- I've yet to find a solution that doesn't fully break the association.
Best I can suggest is to manually add the ".html" yourself when you first save the page (it sounds like you're saving from a browser?). XP / Program in question should then respect your wishes for the extension.
From any folder, you can go to Tools -> Folder Options -> File Types, find "HTM" in the scroll list, Advanced, and check "Always Show Extension". This will make manual renaming easier.
all known web browsers in windows treat *.htm files as html code.
the poster's original question is more based toward the specific html editor being used. based on the default *.htm for the web files you create, i'm guessing that you are using some version of frontpage (which can open up a whole flaming debate of someone relying on frontpage calling him/herself a coder).
please let us know what app you are using to create the webpage files ... notepad, htmlpro, frontpage, etc.
br0adband
03-21-2005, 06:08 PM
Yeah, he needs to tell us which HTML editor/creator he's using.
I know that Dreamweaver typically defaults to using .htm as its primary format, and I've found that sometimes that causes issues so there is an .xml file you can modify that swaps the .htm and .html and makes .html the default for saving/editing files.
But we'd need that info about his particular editor/creator software before we could give him a proper answer.
If it's Dreamweaver, by the way, I just answered it and here is the Macromedia support page that teaches you how to fix it:
Changing default file extensions from .htm to .html in Dreamweaver (http://www.macromedia.com/support/documentation/en/dreamweaver/mx2004/dwusing_errata/dwusing_errata7.html)
Hope this helps, but looking forward to his answer...
Paul
Lethal
03-21-2005, 07:41 PM
Actually, the main problem was IE. I was too lazy to ftp in to the server to download just one page to update, so I was saving from the browser. When you "save as" Web Page, HTML only (*.htm, *.html) it seems IE automatically gives it a .htm and also wants to save it with the page title instead of the file name. Firefox will save a page with the actual file name and correct extension. ;)
I'm using GoLive and have the prefs in that set to save as .html instead of .htm. But the problem was that I wasn't saving a new file, just updating an old one. Once I got the extensions to display in XP, I can rename files locally, but if you can't see the extension, you can't change it. That's why I was doing it on the server after uploading.
And pweegar, yes, HTM and HTML are basically the same thing, but if your links reference one and the file names use the other, you're gonna be in 404 land.
Thanks for the replies, guys! :)
vBulletin® v3.8.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.