|
|
|||||||
Hi guys, This is a part of my login script: ================================================== IF ingroup ("SPI\deelnemers") or ("SPI\docenten") use F: "\\SPI01\Algemeen" use G: "\\SPI01\Appsdata" use H: "\\SPI01\Diskettes" use I: "\\SPI02\ECDL" use X: "\\SPI01\@userid$" WriteValue ("HKEY_CURRENT_USER\Control panel\Desktop","ScreenSaveActive","0","REG_SZ") setwallpaper("\\SPI01\Algemeen\Albeda.bmp") ENDIF ================================================== When I login as somybody who isn't a member of deelnemrs or docenten, it stil makes de drive mappings... Can some one tell my what's wrong with this script? |
||||||||
|
|
|||||||
Marcel, change : IF ingroup ("SPI\deelnemers") or ("SPI\docenten") into : IF ingroup ("SPI\deelnemers") or ingroup ("SPI\docenten") (should already solve it ) Jochen |
||||||||
|
|
|||||||
Also change code:touse X: "\\SPI01\@userid$" code:It probably hasn't bitten you yet, but fixing it now will save you tearing your hair out in frustration at some point in the future.use X: "\\SPI01\@userid$$" |
||||||||
|
|
|||||||
jpols, long time no see... where have you been dude? |
||||||||
|
|
|||||||
Thanks guys. The reply from Jochen worked perfectly! Why is it better to use @userid$$ instead od @useris$? Tnx! |
||||||||
|
|
|||||||
Thanks guys. The reply from Jochen worked perfectly! Why is it better to use @userid$$ instead of @useris$? Tnx! |
||||||||
|
|
|||||||
I have an explanation in the following FAQ Why does the console display zeros and ones (amongst others)? |
||||||||
|
|
|||||||
Lonk, I wasn't out of town but had been cut off all proxies due to a move of our team ... Glad to be back online J. |
||||||||
|
|
|||||||
Dear jpols, People are missing you when you aren't there for some days. Knows anybody where MartijnL is. Since November 2001 no reactions to the board. greetings. |
||||||||
|
|
|||||||
if he sign with us military forces and got killed at afganistan? |
||||||||
|
|
|||||||
MarcelN, I am not sure if your question was answered with regard to - @userid$$ .. Remember, $ usually denotes a variable, where the $$ looks for a hidden share, for example. - Kent [ 10 April 2002, 07:28: Message edited by: kdyer ] |
||||||||
|
|
|||||||
I get it! Tnx |