Novell Login Script

Hi,

I have a hosts file on a novell server (AIRSEP1//VOL2/hosts).  I want to copy this to the user's computer (%systemroot%/system32/drivers/etc) with the login script.  How can I do this?

NeoTek
LVL 1
NeoTekAsked:
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.

PsiCopCommented:
<pet peeve>
"Novell" is a company. "NetWare" is a product. You have a "NetWare server".
</pet peeve>

Note that this Question is probably best asked in the NetWare TA (http://www.experts-exchange.com/Networking/Netware/), but let's see what we can do for you.

You need to specify the VERSION of NetWare in use, as the capabilities of the LOGIN program do vary across versions. Also, you need to state the version of Novell Client 32 that you are using. For both of those, also state if any Support Packs have been applied.

If you don't use Novell Client 32 but instead use the garbage-ware M$ Client for NetWare Networks, then DON'T. It is *deliberately-crippled* crapware. Get and use Novell Client 32, available for *free* from http://support.novell.com/filefinder/6385/index.html
0
NeoTekAuthor Commented:
Hi,

We use Novell NetWare 6.0 SP3.  All computers use Novell Client 32 (various versions, but primarily 4.9).  Thanks.

NeoTek
0
PsiCopCommented:
Environment variables can be referenced in the login script by pre-pending a "%" symbol in front of the variable. See --> http://www.novell.com/documentation/noclienu/login/data/hxtqs6p4.html#hxtqs6p4

It may be necessary to enclose the variable in angle-brackets.
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

PsiCopCommented:
What is your purpose/goal in mapping a network drive letter to the windoze system directory?
0
NeoTekAuthor Commented:
I don't want to map a network drive letter to the windows system directory.  I want to copy a file from a novell server to the user's system directory on login.
0
PsiCopCommented:
Ah. Gotcha - copy a file from the NetWare server to the local Windoze system directory.

I would use a batch file rather than trying to do this in the login script, and just call the batch file from the login script using either the "@" or "#" command, depending on how you want it to look. See http://www.novell.com/documentation/noclienu/index.html?page=/documentation/noclienu/login/data/hxtqs6p4.html#hxtqs6p4.

There is an issue that the batch file will open a DOS box that will remain open - I think you'll need to put an EXIT at the end of the batch.

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
PsiCopCommented:
You could probably create a .PIF file in the same directory as the batch and call the batch thru it and set it to close on completion that way.
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
Operating Systems

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.