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!

GM changed folder name and now won't map

Status
Not open for further replies.

JBruyet

IS-IT--Management
Apr 6, 2001
1,200
US
Hey all,

Our login script was setup to map folders to drives by login name. Everything was working fine until the GM changed his folder from login name to first name last name, including a space in between. Is there a way to get the login script to map this folder without changing the name of the folder? I could just tell him to change the folder name, but if there's a way to leave things the way he wants them I'm all for that.

Thanks,

Joe Brouillette
 
Well apart from the obvious fact that your GM should not be changing his home folder (especially if you MAP ROOT the drive so they don't even see the folder name), you would probably have to do an IF statement in your login script that says something like if the User ID is the GMs User ID, then map the drive to the specific path. You would probably have to use the 8.3 directory name, I can't remember whether putting the path in quotes works in the login script or not.

You might also have to include an ELSE statement to avoid the correct method of mapping the drive causing an error.

--------------------------------------
"Insert funny comment in here!"
--------------------------------------
 
You could also map the home directory to the directory above the GM's.. like, instead of USERS:HOME\DUMMYGENERALMANAGER, make it USERS:HOME.

That way he will see his home folder and it doesn't matter what the name is.

Marvin Huffaker, MCNE
 
TheLad, each user has two folders. One is accessible only by that particular user and the other is shared fully with all users. The folder that had the name changed was the folder that's fully shared. the GM doesn't have a U: drive (that's the drive that's fully shared) because of the name change, but he can get to it by navigating down the folder stack until he reaches his shared folder. As to putting in IF and ELSE statements, I haven't done anything like that since school and wouldn't know where to begin.

marvhuffaker, how would I map that without the mapping changing everyone else's mapped drive? I'm not a Novell guy (I inherited this server) but I can use NWAdmin ok.

Thanks for the help guys!

Joe Brouillette
 
TheLad, marvhuffaker,

Thanks for the help. I talked with my GM about trying to get this taken care of and he wants things left as they are.

Again, thanks for the help,

Joe Brouillette
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top