|
I have 2 locations both running NT 4 SP6a as the PDC's. I'm using the same exact script in both locations and my secondary loaction will not map U: to the hidden user share. The clients are mixed 98se/2k/xp pro. I can manually map the drive so I'm at a loss. Here's the code.
Break on Call "@SCRIPTDIR\udf.kix"
Use F: \\clwprime01\sys Use I: \\clwprime01\apps Use M: \\clwprime01\data Use G: \\clwprime01\aty Use H: \\clwprime01\vol1 Use J: \\clwprime01\vol1 Use S: \\clwprime01\share Use V: \\clwprime01\users Use U: '\\clwprime01\'+@USERID+'$$'
If (@inwin = 1) ? "NT" Else ? "W9x" EndIf
:NT If 0=Exist('U:\TEMPLATES\') MD U:\Templates EndIf Copy '%appdata%\MICROSOFT\TEMPLATES\*.*' 'U:\Templates' Run "\\clwprime01\scan\scan32.exe" Exit
:W9x If 0=Exist('U:\TEMPLATES\') MD U:\Templates EndIf Copy 'C:\WINDOWS\Application Data\MICROSOFT\TEMPLATES\*.*' 'U:\Templates' Run "\\clwprime01\scan\scan32.exe" SetTime "\\clwbinary1"
Exit
Hopefully someone can help me out. Thanks!
|