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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Novell and Windows drive mapping

Status
Not open for further replies.

bejayr

Technical User
Apr 8, 2003
7
US
Can novell login scripts call on a batch file that will map network drives to a Windows 2000 server?
I tried the include command but the script runs in the novell client environment.
Can this be done??
 
Why don't you just use the NET USE command in the login script? For example:

#NET USE T: \\SERVERNAME\SHARE

-----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
All previous scripting is done from the novell servers that I don't have control over. However, I do have control of editing part of the script. In this area I want to run a batch or command 'include'(novell) or 'call'(windows) up a batch file that will map drives to a Windows 2K server.
I tried the 'include' command. It does see and run the batch file. However, i still get the "Script errors" below.
The 'call' command is not recognized by the novell client.

-----tektipster-----
The '#<path>\MapDrivefor9X&NT.bat' is not regonized in the novell environment. I get the error below:

Script error:
LOGIN-4.22.00-600: This utility could not interpret the line.

The original line was:
O:\CSTECHS\batch\MapDrivefor9X&NT.bat

-----TheLad-----
The 'net use' command is not recognized in the novell script environment. I get the error below:

Script error:
LOGIN-4.22.00-600: This utility could not interpret the line.

The original line was:
net use K: \\techweb\storage$

I've done several searches on Novell's site and found nothing helpful. It seems like The Novell Client can only map drives to Novell server. Do you think this is true??

Thanks
 
SOLUTION:
Edited the script as follows:

@O:\CSTECHS\batch\MapK

1. The @ symbol lets a program run outside the NW client and runs it consecutively with the client.
2. Shortened the batch file name and did not include the extension.

THANKS --tektipster--

The short name worked :) Can't believe it was that simple...
Sometimes the very obvious is not so obvious...

Thanks again!!
 
The NET USE command does function from the login script, however you have to ensure that the command is preceeded by a # as I have written it above

-----------------------------------------------------
&quot;It's true, its damn true!&quot;
-----------------------------------------------------
 
TheLad,
I overlooked the &quot;#&quot; you stated above. I just educated myself of the command. Thanks for you help :)
bejayr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top