|
I'm at a recently upgraded to windows 2003 site that previously had 126 (give or take) individual login BAT scripts for user logins. I'm attempting to replace these scripts with a single kix script. All has worked well so far, but it seems that @userid doesn't get processed correctly.
I've taken this portion completely out of my script and made a stand alone script for testing and get the same result on member workstations and the windows 2003 servers.
If I have script like:
If @userid ("Bobbyjoe") Use K: "\\server1\share1$" Use L: "\\server2\share2$" EndIF ; If @userid ("Billysue") Use P: "\\server3\share3$" Use Q: "\\server4\share4$" EndIf
If I run the above as either BobbyJoe, or Billysue, the end result is that I have all 4 drives mapped to my session, as opposed to just the drives defined by @userid.
When running a test script with a /debug, I see ("bobbyjoe") repeated in the DOS window just after the If @userid ("Bobbyjoe") statement is made. (And of course, ("billysue") is displayed right after the next If statement.)
I'm using kixtart version 4.22, and I've used @userid many times before without error. I've searched over the forums and haven't found any others with this apparent issue. Is there something simple I'm missing here?
Thanks
J
|