Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating login scripts

Status
Not open for further replies.

ScubaStevo

Programmer
May 4, 2002
132
AU
Hi

I a new to this and would like to know how to create a login script that copies a particular file off the network and executes it once the user has logged in.

We have Netware 6.0 btw.

Any help with this would be fantastic
Thanks
Steve
 
Login scripts can facilitate this, but honestly it can get a little sloppy.

You should look into Novell ZENworks which is a full application deployment and management system.

You could also look at a free utility called AUTOIT that will allow you to write custom scripts, package them as EXE's and launch that way. It's much neater than trying to do it with the login script alone.

That's my two cents. Other people around here do more with scripting than I do.

Marvin

Marvin Huffaker, MCNE
 
Zen is definitely way cool, but I still use login scripts for very simple jobs.

Do you really need to copy the file to the user, or do you just want the user to run it? In either case, if you simply put a # as the first character the following command will be run locally by the user. For instance,
Code:
#copy \\servername\volume\directory\filename c:\directory
will copy "filename" from a server to the users local drive. Or,
Code:
#\\server\volume\dir\file.exe
will cause "file.exe" to be run on the user PC with that user's rights.

There is a decent set of commands and variables available to login scripts.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top