Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


problem with viewing my html files

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Negima
I post too much
Reputation: 5

Joined: 22 May 2007
Posts: 2221

PostPosted: Thu Sep 13, 2007 11:28 pm    Post subject: problem with viewing my html files Reply with quote

This is the script im using
Code:
<html>
<body>
yo
</body>
</html>

when I put it into a .txt file and rename it .html it just keeps opening with notepad. There something wrong with the script?
Back to top
View user's profile Send private message Visit poster's website
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Sep 13, 2007 11:34 pm    Post subject: Reply with quote

windows associates .html files with notepad

(not by default, that would be IE so I assume you overrode it)
Back to top
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Thu Sep 13, 2007 11:35 pm    Post subject: Re: problem with viewing my html files Reply with quote

Negima wrote:
This is the script im using
Code:
<html>
<body>
yo
</body>
</html>

when I put it into a .txt file and rename it .html it just keeps opening with notepad. There something wrong with the script?

Hahahaha.
Right click -> Open with -> Choose Program... -> Select your browser, and tick "Always use the selected program to open this kind of file." Click OK.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Sep 13, 2007 11:38 pm    Post subject: Re: problem with viewing my html files Reply with quote

Negima wrote:
This is the script im using
Code:
<html>
<body>
yo
</body>
</html>

when I put it into a .txt file and rename it .html it just keeps opening with notepad. There something wrong with the script?


In most cases the system is seeing the file as 'file.html.txt'.

To fix that you can turn on showing the file extensions for known file types so you can change them via renaming. To do that follow these steps:

1. Open 'My Computer'
2. At the top menu, goto Tools -> Folder Options
3. At the top of the window that opens, click the view tab.
4. In the box, scroll down till you find 'Hide extensions for known file types'
5. Uncheck the box next to this then click apply or ok and close that box and My Computer. You should see the extensions of the file types now and should be able to easily edit them via renaming.
Back to top
View user's profile Send private message Visit poster's website
--Pillboi--
Grandmaster Cheater Supreme
Reputation: 0

Joined: 06 Mar 2007
Posts: 1383
Location: I don't understand the question. Is this a 1 to 10 thing?

PostPosted: Fri Sep 14, 2007 10:06 am    Post subject: Reply with quote

Quote:
when I put it into a .txt file and rename it .html

By the sounds of it. It looks like your saving it as a .txt, and then renaming it to whatever.html, but what it actually is, is a text file still. You have to save it initially as whatever.html.

_________________

Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites