Computing.Net > Forums > Novell Netware > batch file login script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

batch file login script

Reply to Message Icon

Name: Chris
Date: July 22, 2002 at 07:16:18 Pacific
Comment:

I am running Netware 4.11 w/ Windows 9x workstations. I wrote a batch file to clean out the users of the network temp directories. I tried this on on account first. The file named temp.bat is sitting in my c:\program files folder. I opened NW Admin utility and click on my account then located the "Login Script" area and placed the folowing line in the login script space, "#C:\Windows\temp\*.*" Now when I logon to the network it runs the script but doesn't map my network drive (it did before). Is there something I am not doing right in my batch file. I am new to writing batch files also. What would the syntax be to delet a temp directory (besides deltree /y [path name])



Sponsored Link
Ads by Google

Response Number 1
Name: Phantom
Date: July 22, 2002 at 10:15:27 Pacific
Reply:


Is it possible that you yourself became one of the users who was cleaned out of the temp directories? Im not sure what that has to do with mapping your drives, but maybe you have to add another line to your batch file? Not sure. Just my 2 cents.


0

Response Number 2
Name: Geoff Taylor
Date: July 24, 2002 at 09:25:09 Pacific
Reply:

You should apply the command in the user's container login script, rather than in the individual user objects. It sounds like the user object login script is taking precedence over the container login script.

In NWADMIN, select the container for the users, rmb to select details for the container object, then go to the login scipt tab.

In the container login script you will probably see the Map commands. Add the line for your script at an appropriate place after the mappings.

By preference, I would suggest locating the batch file in SYS:\public on the server. That way you don't have to have the batch on every user's workstation.



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


I forgot my password for ... Partitioning a new drive ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Novell Netware Forum Home


Sponsored links

Ads by Google


Results for: batch file login script

NT and Client 32 4.8 www.computing.net/answers/netware/nt-and-client-32-48/970.html

batch file and login script Ntware5 www.computing.net/answers/netware/batch-file-and-login-script-ntware5/2465.html

Batch file Novell Login Script www.computing.net/answers/netware/batch-file-novell-login-script/3933.html