Page 1 of 1 1
Topic Options
#579 - 1999-10-04 10:37 AM Mapped Drives in 95
Anonymous
Unregistered


Ok here is my logon script. The I: and j: drives are mapped when i login in as a user, nothing else tho.. When i log in as a the admin or someone with admin access all of the mappings work.. Can someone please Help !! :-)

IF @INWIN <> 1
? " Connecting base drives..."
USE I: "\\POSTAL\USERS TEMP" WORKS FOR EVERYONE
USE J: "\\POSTAL\LIBRARY" WORKS FOR EVERYONE

Everything below only as a user with admin access

IF INGROUP("DOMAIN ADMINS")
USE K: "\\POSTAL\IT DEPT"
;IF INGROUP("ANIMATION")
; USE ?: "\\POSTAL\"
;IF INGROUP("DESIGN")
; USE ?: "\\POSTAL\"
IF INGROUP("DEVELOPMENT")
USE L: "\\DISCOVER\PRODUCTS"
USE M: "\\DISCOVER\REVIEW"
;IF INGROUP("MARKETING")
; USE ?: "\\POSTAL\"
IF INGROUP("PROGRAMMING")
USE N: "\\POSTAL\F\NOVA"
USE O: "\\POSTAL\DEMO"
;IF INGROUP("SALES")
; USE I: "\\POSTAL\"
IF INGROUP("WEB")
USE P: "\\ORION\E$"
USE Q: "\\ORION\MARKETING"
;
ENDIF
;
SLEEP 3
;

Top
#580 - 1999-10-04 06:31 PM Re: Mapped Drives in 95
Anonymous
Unregistered


To my understanding you will require the ENDIF statement for every IF command used.

IF INGROUP("DOMAIN ADMINS")
NET USE J: .....
ENDIF

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1343 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.059 seconds in which 0.032 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org