loungn14
Posts: 9
Score: 0 Joined: 6/23/2006 Status: offline
|
Hello, We are in the process of migrating our kixstart script to vb and have run into a snag...is there anyone who can help?? We have the following lines that I am having a hard time scripting.... --------------------------------------------------------------- $y=substr(@homedir,3,len(@homedir)-2) $y1=instr($y,"\") $y2=substr(@homedir,1,$y1+1) ; get home dir server name, no trailing slash use X: "$y2"+"\companylcl" ; Division local common share 'set homeserver variable $y=substr(@homedir,3,len(@homedir)-2) $y1=instr($y,"\") $y2=substr($y,1,$y1-1) ; get home dir server name, no trailing slash setm "HOMESERVER=$y2" ----------------------------------------------------------- Basically, we find the home server of the user (\\servername\user$) and map it as x:\companylcl-- so it would be x:\ = \\servername\companylcl Then we take the same home server variable and set that as a machine variable called HOMESERVER for use in another script and GPO Any help would be sooooo greatly apprecaited..as we have been scouring the net for days...
|