• Advertisement

Archived

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

Win98 Home directory

This topic is 5113 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

Hi, How to get home directory with windows 98 ? c:\windows\profiles\user is it in a environment variable ? thanks

Share this post


Link to post
Share on other sites
Advertisement


Hard to understand your english.

2 things:

1) Win98 dosn''t suport different users quite like XP or 2000 will. That path makes me wonder if you think it does?

2) You can set the folder it will put all the Windows files in at instal time.

I doubt I have helped you. But decided to see if I could anyways.

Share this post


Link to post
Share on other sites
quote:
Original post by Cyber-Ace
Hard to understand your english.
The guy''s English is perfectly comprehensible, and his question perfectly straightforward. He wants to know how to programmatically retrieve the user home directory in Windows 98, and asks if there''s an environment variable that contains it.

Your answers are correct: Windows 98 does not truly support multiple users (though it can have multiple user profiles, but there is no real protection of user data). User profiles must be enabled by the administrator of the target system, and then profile directories my exist.

User profiles are listed in the registry, if they exist, under HKEY_LOCAL_MACHINE \Software \Microsoft \Windows \Current Version\Profile List. A directory exists for each profile under C:\WINDOWS\Profile\.

QED

Share this post


Link to post
Share on other sites
thanks a lot
I must save a file in tbe current user profile directory.
In the registry, there is a list of profile directory, but how to know the current one ?

Share this post


Link to post
Share on other sites

  • Advertisement