How to use %Username% in Win95/98

I've installed a NT 4.0 server for file sharing use. All of our user are using Windows 95/98 with Client for Microsoft Network.

I created a logon script for drive mappings in server's \winnt\system32\repl\import\scripts. The script seems working properly when user logon.

However, I would like to modify the scritp to map a drive letter (H:) to user's personnal directory (I created share names as username for each user) when logon.  Is there any way to cater this because %Username% is not working in Windows 95/98 environment.  (The same script is working when logon from a NT Workstation)

Thanks for help!

Tony.
chankctAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

robtanner129Commented:
There is available a utility called Kixtart which is a full-featured scripting engine for Windows.  I have used it to do exactly what you are looking for.  You write a script and then call it in the batch file.  For example, Logon.bat would contain a line something like Kixtart General.bat.

Information on setting Kixtart up for Win95 is available at:
http://support.microsoft.com/support/kb/articles/Q162/7/93.asp.

The above article contains a link to a Kixtart web site with more examples and a download of the software itself.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
chankctAuthor Commented:
Thanks Robtanner129!  Kixtart really a great tool to resolve Windows 95 domain logon weak point.
0
robtanner129Commented:
You're quite welcome and quite right.  I was very happy to find kixtart when I first started administering LANs.  Kixtart is particularly useful when you have a mix of Windows platforms.  Not that you should have to use it too much anymore, but it also supports Win16 boxes.

Glad I could be of help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.