-
March 2nd, 2001, 02:42 PM
#1
Script problems
This is the first part of my script and at the end of this section it is cancelling out of the rest. Can anyone tell me why my script is not completing.
I would really appreciate the help
IF @WKSTA="TWEETY" OR @WKSTA="MARVIN"
goto next
ELSE
IF EXIST("c:\windows\explorer.exe")
$kixcheck = -1
$kixcheck = comparefiletimes("c:\windows\kix32.exe","\\spike\n etlogon\kix32.exe")
MESSAGEBOX("Kixcheck value = " + $kixcheck,"Kixnumber",0)
IF $kixcheck <> 0
copy "\\spike\netlogon\kix32.exe" "c:\windows"
copy "\\spike\netlogon\kx16.dll" "c:\windows"
copy "\\spike\netlogon\kx32.dll" "c:\windows"
ELSE
ENDIF
ELSE
IF EXIST("c:\winnt\explorer.exe")
$kixcheck = -1
$kixcheck = comparefiletimes("c:\winnt\kix32.exe","\\spike\net logon\kix32.exe")
? $kixcheck
MESSAGEBOX("Kixcheck value = " + $kixcheck,"Kixnumber",0)
IF $kixcheck <> 0
copy "\\spike\netlogon\kix32.exe" "c:\winnt"
copy "\\spike\netlogon\kx16.dll" "c:\winnt"
copy "\\spike\netlogon\kx32.dll" "c:\winnt"
ELSE
ENDIF
ELSE
ENDIF
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks