@echo off if x%1x == xx set CCNAME=xyz if exist WinEdt_%ccname%CC_9x.exe del WinEdt_%ccname%CC_9x.exe if exist WinEdt_%ccname%CC_NT.exe del WinEdt_%ccname%CC_NT.exe if not exist makesfx.exe goto nomksfx if not exist WinEdt_%ccname%CC.zip goto nocczip makesfx.exe /zip="WinEdt_%ccname%CC.zip" /sfx="WinEdt_%ccname%CC_9x.exe" /title="%ccname% CC for WinEdt" /website="http://www.winedt.com/" /intro="This is a configuration component which makes writing Oracle PL/SQL in WinEdt much easier." /defaultpath="$programfiles$\WinEdt Team\WinEdt\Config\%ccname%" /openexplorerwindow makesfx.exe /zip="WinEdt_%ccname%CC.zip" /sfx="WinEdt_%ccname%CC_NT.exe" /title="%ccname% CC for WinEdt" /website="http://www.winedt.com/" /intro="This is a configuration component which makes writing Oracle PL/SQL in WinEdt much easier." /defaultpath="$userprofile$\Application Data\WinEdt\Config\%ccname%" /openexplorerwindow goto end :nocczip echo There is no WinEdt_%ccname%CC.zip! goto end :nomksfx echo There is no MakeSFX.exe! goto end :end