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

Creating new folder in login script

Status
Not open for further replies.

karweng

MIS
Joined
Jul 11, 2001
Messages
56
Location
AU
Hi everyone,

Can someone help me with this I'm trying to create folders based on $LOGIN_NAME, in the login script.
I have tried using the commands below without success
#MKDIR \\server1\users\%username%
#MKDIR \\server1\users\%LOGIN_NAME

 
You might be better off putting the MKDIR command in a batch file then running the batch file from the login script.

-----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
Hello,

Netware does not recognise MKDIR or MD, even if i do run from batch file. Is there a way around this?
 
As TheLad said, use a batch file. Call it with a line like @batchfilename.bat %LOGIN_NAME

Then in the batch file variable %1 is the login_name.
 
Got it working, thanks very much everyone.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top