I don't have any 95 machines to test this on, and NT doesn't return an error on this.this is the batchfile that call the kix script. NT machines do not display the %os% variable error but 95 clients do.
this is the original version
@echo off
cls
xcopy \\Server\Share\kix32.exe %windir% /d >nul
If %os%==Windows_NT goto script
xcopy \\Server\Share\kx32.dll %windir% /d >nul
xcopy \\Server\Share\kx16.dll %windir% /d >nul
:script
%windir%\kix32.exe \\Server\Share\logon.kix
this is what I would like to test:
@echo off
cls
xcopy \\Server\Share\kix32.exe %windir% /d >nul
If %os%==Windows_NT goto script 2>nul
xcopy \\Server\Share\kx32.dll %windir% /d >nul
xcopy \\Server\Share\kx16.dll %windir% /d >nul
:script
%windir%\kix32.exe \\Server\Share\logon.kix
Notice the 2>nul in the above script. I'm hoping that this would suppress the syntax error message that 95 displays
Thanks for your help