Archived

This topic is now archived and is closed to further replies.

USER.DAT file

This topic is 5748 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am curious to know whether anybody uses the user.dat file to store their program''s data. Does this file also exist in win2000 and XP? Do you access this file as you do with other files(using code)? I opened it in notepad and got a combination of next and weird symbols. Is there a way of seeing whats behind these symbols? Any comment would be appreciated.

Share this post


Link to post
Share on other sites
quote:
Original post by shuks
I am curious to know whether anybody uses the user.dat file to store their program''s data. Does this file also exist in win2000 and XP?
Do you access this file as you do with other files(using code)? I opened it in notepad and got a combination of next and weird symbols. Is there a way of seeing whats behind these symbols?

Any comment would be appreciated.


In order to open that file, you need to know the format in which it was saved. And I''m not sure if Microshaft released the info or not but All I can say, as was already mentionned, don''t touch any registry file unless you really know what you''re doing.



"And that''s the bottom line cause I said so!"

Cyberdrek
cyberdrek@gdnmail.net
Founder Laval Linux

/(bb|[^b]{2})/ that is the Question -- ThinkGeek.com
Hash Bang Slash bin Slash Bash -- #!/bin/bash

Share this post


Link to post
Share on other sites
There are some specs on the net about the file format of the registry, www.wotsit.org has some I think. However directly accessing the registry file is very bad and will likely screw up your system to the point of requiring a reinstall. Learn the api commands to access the registry, its actually alot easier than doing all the file parsing yourself.

Share this post


Link to post
Share on other sites
Users.dat is part of the registry which is made up of the following files :
System.dat - contains most of the registry including the local machine key.
User.dat - contains user specific info (the USER and CURRENT_User keys) and user application data.
Classes.dat - (Available on Win Me/2000/XP)Stores file association info

You write and read data from the registry using the win32 api functions contained in advapi32.dll such as RegOpenKey()RegCloseKey() etc

For more info..look around

Share this post


Link to post
Share on other sites