Hello,
I have a quick question about %0\..\ in a Win9x environment.

I'm in a Multi Site/Multi LogonServer setting, so I'm looking to run my kix scripts from the local AD sites, as it possibly involves copying some files over the WAN otherwise.

I have used the %0\..\ to refer to the NETOGON directory before, but for some reason, when I use it now, I am not getting the result I'm expecting. the code I have in the batch file is pretty simple:

Code:
 @echo off

If /i (%OS%) == (Windows_NT) Goto NT
Goto Win9x

:Win9x
If Exist %WINDIR%\putinenv.exe Goto setVar
Copy %0\..\PUTINENV.EXE %WINDIR%\

:setVar
%WINDIR%\putinenv.exe L
\\cvusd-DO-dc2\NETLOGON\Winset USERNAME=%USERNAME%
\\cvusd-DO-dc2\NETLOGON\Winset COMPUTERNAME=%COMPUTERNAME%
\\cvusd-DO-dc2\NETLOGON\Winset LOGONSERVER=%LOGONSERVER%



when I get to the point where it tries to copy PUTINENV.exe to %WINDIR%, I get an error saying "invalid directory".

is there something blately obvious that I'm missing here? I don't recall this usually being a big problem..

Thanks for any help you may provide.
_________________________
Network Specialist
Chino Unified School District