|
Here is my script - Where it says my script actually has the share loction it doesnt say ... if that makes any sense:
COLOR r+/n at(2,2) "Initializing Logon Script - Please Stand By" SETTIME "*" CLS
COLOR y+/n at(2,2) BOX (2,2,17,67,Double) COLOR b+/n at(3,3) BOX (3,19,5,49,Full) COLOR w+/n at(4,21) "Welcome to Joe Gibbs Racing" COLOR w+/n at(7,6) "Welcome back:" COLOR y+/n at(7,21) "@fullname" COLOR w+/n at(8,6) "Today is:" COLOR c+/n at(8,17) "@Day - @Month @Day, @Year" COLOR w+/n at(9,6) "The current time is:" COLOR c+/n at(9,29) "@Time" COLOR y+/n at(12,6) "Please standby as we map your network drives:"
USE H: "\\App-Server\Homefolders$\@userid"
If InGroup ("IT Admins") USE Z: "\\\IT Folders" EndIf If InGroup ("Marketing Group") USE Y: "\\\Marketing" EndIf
CLS COLOR y+/n at(2,2) BOX (2,2,17,67,Double) COLOR b+/n at(3,3) BOX (3,19,5,49,Full) COLOR w+/n at(4,21) "Welcome to Joe Gibbs Racing" COLOR w+/n at(7,6) "Welcome back:" COLOR y+/n at(7,21) "@fullname" COLOR w+/n at(8,6) "Today is:" COLOR c+/n at(8,17) "@Day - @Month @Day, @Year" COLOR w+/n at(9,6) "The current time is:" COLOR c+/n at(9,29) "@Time" COLOR g+/n at(12,6) "Drive Mapping Complete!" COLOR w+/n at(13,6) "Have a nice day :-P" SLEEP 2 COLOR r+/n at(15,6) "Press Any Key to Exit" get $x break
|