I have a section of my script that was working up until Friday, when I made some changes. I must've changed something without realizing it and now I can't figure out where the problem is. I've run the script in debug mode and it just quits right after "If @INWIN="2". Does anyone see my problem?

Code:

:QAD
$cascade98=@LSERVER + "\support\Cascade98.lnk"
$cascadeNT=@LSERVER + "\support\Cascade.lnk"
$ats9x=@LSERVER + "\support\ATS9x.lnk"
$atsNT=@LSERVER + "\support\ATS.lnk"
$stx9x=@LSERVER + "\support\Systex9x.lnk"
$stxNT=@LSERVER + "\support\Systex.lnk"
$ckt9x=@LSERVER + "\support\CKTechEB29x.lnk"
$cktNT=@LSERVER + "\support\CKTechEB2.lnk"
If @INWIN="2"
If Exist ($qad)
Copy $cascade $qad
Copy $ckt $qad
Copy $ats $qad
Copy $stx $qad
Endif
If Exist ($qadeb2)
Copy $cascade $qadeb2
Copy $ckt $qadeb2
Copy $ats $qadeb2
Copy $stx $qadeb2
Endif
If Exist ($qad) or Exist ($qadeb2)
;Personal Desktop
Shell '%ComSpec% /c find /i "Cascade Icon Version 2 copied" "%userprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$desktop\Cascade.lnk")
Copy "$cascade98" "$desktop\Cascade.lnk"
Writeprofilestring ("%userprofile%\qad.txt", "QAD", "Cascade", "Cascade icon version 2 copied")
Endif
Endif
Shell '%ComSpec% /c find /i "ATS Icon Version 3 copied" "%userprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$desktop\ATS.lnk")
Copy "$ats9x" "$desktop\ATS.lnk"
Writeprofilestring ("%userprofile%\qad.txt", "QAD", "ATS", "ATS icon version 3 copied")
Endif
Endif
Shell '%ComSpec% /c find /i "Systex Icon Version 2 copied" "%userprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$desktop\Systex.lnk")
Copy "$stx9x" "$desktop\Systex.lnk"
Writeprofilestring ("%userprofile%\qad.txt", "QAD", "Systex", "Systex icon version 2 copied")
Endif
Endif
Shell '%ComSpec% /c find /i "CKTech Icon EB2 copied" "%userprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$desktop\CKTech.lnk")
Copy $ckt9x $cktechicon
Writeprofilestring ("%userprofile%\qad.txt", "QAD", "CKTech", "CKTech icon EB2 copied")
Endif
Endif
;Common Desktop
Shell '%ComSpec% /c find /i "Cascade Icon Version 2 copied" "%allusersprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$alldesktop\Cascade.lnk")
Copy "$cascade98" "$alldesktop\Cascade.lnk"
Writeprofilestring ("%alluserprofile%\qad.txt", "QAD", "Cascade", "Cascade icon version 2 copied")
Endif
Endif
Shell '%ComSpec% /c find /i "ATS Icon Version 3 copied" "%allusersprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$alldesktop\ATS.lnk")
Copy "$ats9x" "$alldesktop\ATS.lnk"
Writeprofilestring ("%alluserprofile%\qad.txt", "QAD", "ATS", "ATS icon version 3 copied")
Endif
Endif
Shell '%ComSpec% /c find /i "Systex Icon Version 2 copied" "%allusersprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$alldesktop\Systex.lnk")
Copy "$stx9x" "$alldesktop\Systex.lnk"
Writeprofilestring ("%alluserprofile%\qad.txt", "QAD", "Systex", "Systex icon version 2 copied")
Endif
Endif
Shell '%ComSpec% /c find /i "CKTech Icon EB2 copied" "%allusersprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$alldesktop\CKTech.lnk")
Copy "ckt9x $cktechicon
Writeprofilestring ("%alluserprofile%\qad.txt", "QAD", "CKTech", "CKTech icon EB2 copied")
Endif
Endif
Endif
Endif
If @INWIN="1"
If Exist ($qad)
Copy $cascade $qad
Copy $ckt $qad
Copy $ats $qad
Copy $stx $qad
Endif
If Exist ($qadeb2)
Copy $cascade $qadeb2
Copy $ckt $qadeb2
Copy $ats $qadeb2
Copy $stx $qadeb2
Endif
If Exist ($qad) or Exist ($qadeb2)
;Personal Desktop
Shell '%ComSpec% /c find /i "Cascade Icon Version 2 copied" "%userprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$desktop\Cascade.lnk")
Copy "$cascadeNT" "$desktop\Cascade.lnk"
Writeprofilestring ("%userprofile%\qad.txt", "QAD", "Cascade", "Cascade icon version 2 copied")
Endif
Endif
Shell '%ComSpec% /c find /i "ATS Icon Version 3 copied" "%userprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$desktop\ATS.lnk")
Copy "$atsNT" "$desktop\ATS.lnk"
Writeprofilestring ("%userprofile%\qad.txt", "QAD", "ATS", "ATS icon version 3 copied")
Endif
Endif
Shell '%ComSpec% /c find /i "Systex Icon Version 2 copied" "%userprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$desktop\Systex.lnk")
Copy "$stxNT" "$desktop\Systex.lnk"
Writeprofilestring ("%userprofile%\qad.txt", "QAD", "Systex", "Systex icon version 2 copied")
Endif
Endif
Shell '%ComSpec% /c find /i "CKTech Icon EB2 copied" "%userprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$desktop\CKTech.lnk")
Copy $cktNT $cktechicon
Writeprofilestring ("%userprofile%\qad.txt", "QAD", "CKTech", "CKTech icon EB2 copied")
Endif
Endif
;Common Desktop
Shell '%ComSpec% /c find /i "Cascade Icon Version 2 copied" "%allusersprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$alldesktop\Cascade.lnk")
Copy "$cascadeNT" "$alldesktop\Cascade.lnk"
Writeprofilestring ("%alluserprofile%\qad.txt", "QAD", "Cascade", "Cascade icon version 2 copied")
Endif
Endif
Shell '%ComSpec% /c find /i "ATS Icon Version 3 copied" "%allusersprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$alldesktop\ATS.lnk")
Copy "$atsNT" "$alldesktop\ATS.lnk"
Writeprofilestring ("%alluserprofile%\qad.txt", "QAD", "ATS", "ATS icon version 3 copied")
Endif
Endif
Shell '%ComSpec% /c find /i "Systex Icon Version 2 copied" "%allusersprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$alldesktop\Systex.lnk")
Copy "$stxNT" "$alldesktop\Systex.lnk"
Writeprofilestring ("%alluserprofile%\qad.txt", "QAD", "Systex", "Systex icon version 2 copied")
Endif
Endif
Shell '%ComSpec% /c find /i "CKTech Icon EB2 copied" "%allusersprofile%\qad.txt" >nul'
If Not @Error=0
If Exist ("$alldesktop\CKTech.lnk")
Copy $cktNT $cktechicon
Writeprofilestring ("%alluserprofile%\qad.txt", "QAD", "CKTech", "CKTech icon EB2 copied")
Endif
Endif
Endif
Endif
Return



I know my code isn't very efficient, but I just need to get it working.