Variable in Login Script for Drive Mappings

G

Guest

Im trying to use a variable in my login script. It works fine when the
variable is at the end of the path.

For example; Net Use P: \\server\users\%username%

This works fine; but when the variable is in the middle of the path, it
doesn't work.

For example; Net Use Q: \\server\users\%username%\dir1

This doesn't work.

Any Ideas

Thanks in Advance
Shannon
 
G

Guest

SEgerton said:
Im trying to use a variable in my login script. It works fine when the
variable is at the end of the path.

For example; Net Use P: \\server\users\%username%

This works fine; but when the variable is in the middle of the path, it
doesn't work.

For example; Net Use Q: \\server\users\%username%\dir1

This doesn't work.

Sure? What for an Client OS? I´ve tested it with XP SP2 an it works fine.
 
G

Guest

The workstation is a Windows 2000 SP4. I haven't tried it on a XP machine
yet. That wouldn't help me anyways; all my workstations are 2000. If you can
think of something, please let me know.

Thanks,
Shannon
 
G

Guest

SEgerton said:
The workstation is a Windows 2000 SP4. I haven't tried it on a XP machine
yet. That wouldn't help me anyways; all my workstations are 2000. If you can
think of something, please let me know.
do you tested it in an cmd?

echo \\server\users\%username%\dir


What is the output?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top