The system cannot find the batch label specified - XPHO
1 file<s> copied
here is my install.cmd
CODE
cmdow @ /HID
@echo off
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\SOFTWARE SET CDROM=%%i:
@echo off
REM next line makes sure the *.TAG extension is identified
setlocal enableextensions
REM checks for the XPHO.tag file and go to the corresponding section:
if exist %SystemDrive%\XPHO.TAG call :XPHO
REM checks for the XPHR.tag and go to the corresponding section:
if exist %SystemDrive%\XPHR.TAG call :XPHR
REM checks for the XPHU.tag and go to the corresponding section:
if exist %SystemDrive%\XPHU.TAG call :XPHU
REM checks for the XPPC.tag and go to the corresponding section:
if exist %SystemDrive%\XPPC.TAG call :XPPC
REM checks for the XPPO.tag and go to the corresponding section:
if exist %SystemDrive%\XPPO.TAG call :XPPO
REM checks for the XPPR.tag and go to the corresponding section:
if exist %SystemDrive%\XPPR.TAG call :XPPR
REM checks for the XPPU.tag and go to the corresponding section:
if exist %SystemDrive%\XPPU.TAG call :XPPU
REM checks for the XHOD.tag and go to the corresponding section:
if exist %SystemDrive%\XHOD.TAG call :XHOD
REM checks for the XHRD.tag and go to the corresponding section:
if exist %SystemDrive%\XHRD.TAG call :XHRD
REM checks for the XHUD.tag and go to the corresponding section:
if exist %SystemDrive%\XHUD.TAG call :XHUD
REM checks for the XPCD.tag and go to the corresponding section:
if exist %SystemDrive%\XPCD.TAG call :XPCD
REM checks for the XPOD.tag and go to the corresponding section:
if exist %SystemDrive%\XPOD.TAG call :XPOD
REM checks for the XPRD.tag and go to the corresponding section:
if exist %SystemDrive%\XPRD.TAG call :XPRD
REM checks for the XPUD.tag and go to the corresponding section:
if exist %SystemDrive%\XPUD.TAG call :XPUD
REM End
goto :end
:XPHO
REM Here we'll add the SOFTWARE to install to the XP Home OEM version.
REM "%~dp0" refers to the full path the Install.cmd is in, so you don't have to worry about drive letters
REM End this section
REM end of this section :
goto :end
:XPHR
REM Here we'll add the SOFTWARE to install to the XP Home Retail version.
REM End this section
REM end of this section :
goto :end
:XPHU
REM Here we'll add the SOFTWARE to install to the XP Home Upgrade version.
REM End this section
REM end of this section :
goto :end
:XPPC
REM Here we'll add the SOFTWARE to install to the XP Professional Corporate version.
REM End this section
REM end of this section :
goto :end
:XPPO
REM Here we'll add the SOFTWARE to install to the XP Professional OEM version.
REM End this section
REM end of this section :
goto :end
:XPPR
REM Here we'll add the SOFTWARE to install to the XP Professional Retail version.
REM End this section
REM end of this section :
goto :end
:XPPU
REM Here we'll add the SOFTWARE to install to the XP Professional Upgrade version.
REM End this section
REM end of this section :
goto :end
:XHOD
REM Here we'll add the SOFTWARE to install to the XP Home OEM version.
%SystemDrive%\DPsFnshr.exe
REM End this section
REM end of this section :
goto :end
:XHRD
REM Here we'll add the SOFTWARE to install to the XP Home Retail version.
%SystemDrive%\DPsFnshr.exe
REM End this section
REM end of this section :
goto :end
:XHUD
REM Here we'll add the SOFTWARE to install to the XP Home Upgrade version.
%SystemDrive%\DPsFnshr.exe
REM End this section
REM end of this section :
goto :end
:XPCD
REM Here we'll add the SOFTWARE to install to the XP Professional Corporate version.
%SystemDrive%\DPsFnshr.exe
REM End this section
REM end of this section :
goto :end
:XPOD
REM Here we'll add the SOFTWARE to install to the XP Professional OEM version.
%SystemDrive%\DPsFnshr.exe
REM End this section
REM end of this section :
goto :end
:XPRD
REM Here we'll add the SOFTWARE to install to the XP Professional Retail version.
%SystemDrive%\DPsFnshr.exe
REM End this section
REM end of this section :
goto :end
:XPUD
REM Here we'll add the SOFTWARE to install to the XP Professional Upgrade version.
%SystemDrive%\DPsFnshr.exe
REM End this section
REM end of this section :
goto :end
:end
REM Here we'll add the options for every OS.
%CDROM%\SOFTWARE\ADOBE\Flash\install_flash_player_10_active_x.msi /q
%CDROM%\SOFTWARE\ADOBE\Shockwave\sw_lic_full_installer.msi /qn
%CDROM%\SOFTWARE\OEMLOGO.CMD
%CDROM%\SOFTWARE\REGISTRY.CMD
%CDROM%\SOFTWARE\CLEANUP.CMD
del /f /q %SystemDrive%\*.TAG
exit
@echo off
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\SOFTWARE SET CDROM=%%i:
@echo off
REM next line makes sure the *.TAG extension is identified
setlocal enableextensions
REM checks for the XPHO.tag file and go to the corresponding section:
if exist %SystemDrive%\XPHO.TAG call :XPHO
REM checks for the XPHR.tag and go to the corresponding section:
if exist %SystemDrive%\XPHR.TAG call :XPHR
REM checks for the XPHU.tag and go to the corresponding section:
if exist %SystemDrive%\XPHU.TAG call :XPHU
REM checks for the XPPC.tag and go to the corresponding section:
if exist %SystemDrive%\XPPC.TAG call :XPPC
REM checks for the XPPO.tag and go to the corresponding section:
if exist %SystemDrive%\XPPO.TAG call :XPPO
REM checks for the XPPR.tag and go to the corresponding section:
if exist %SystemDrive%\XPPR.TAG call :XPPR
REM checks for the XPPU.tag and go to the corresponding section:
if exist %SystemDrive%\XPPU.TAG call :XPPU
REM checks for the XHOD.tag and go to the corresponding section:
if exist %SystemDrive%\XHOD.TAG call :XHOD
REM checks for the XHRD.tag and go to the corresponding section:
if exist %SystemDrive%\XHRD.TAG call :XHRD
REM checks for the XHUD.tag and go to the corresponding section:
if exist %SystemDrive%\XHUD.TAG call :XHUD
REM checks for the XPCD.tag and go to the corresponding section:
if exist %SystemDrive%\XPCD.TAG call :XPCD
REM checks for the XPOD.tag and go to the corresponding section:
if exist %SystemDrive%\XPOD.TAG call :XPOD
REM checks for the XPRD.tag and go to the corresponding section:
if exist %SystemDrive%\XPRD.TAG call :XPRD
REM checks for the XPUD.tag and go to the corresponding section:
if exist %SystemDrive%\XPUD.TAG call :XPUD
REM End
goto :end
:XPHO
REM Here we'll add the SOFTWARE to install to the XP Home OEM version.
REM "%~dp0" refers to the full path the Install.cmd is in, so you don't have to worry about drive letters
REM End this section
REM end of this section :
goto :end
:XPHR
REM Here we'll add the SOFTWARE to install to the XP Home Retail version.
REM End this section
REM end of this section :
goto :end
:XPHU
REM Here we'll add the SOFTWARE to install to the XP Home Upgrade version.
REM End this section
REM end of this section :
goto :end
:XPPC
REM Here we'll add the SOFTWARE to install to the XP Professional Corporate version.
REM End this section
REM end of this section :
goto :end
:XPPO
REM Here we'll add the SOFTWARE to install to the XP Professional OEM version.
REM End this section
REM end of this section :
goto :end
:XPPR
REM Here we'll add the SOFTWARE to install to the XP Professional Retail version.
REM End this section
REM end of this section :
goto :end
:XPPU
REM Here we'll add the SOFTWARE to install to the XP Professional Upgrade version.
REM End this section
REM end of this section :
goto :end
:XHOD
REM Here we'll add the SOFTWARE to install to the XP Home OEM version.
%SystemDrive%\DPsFnshr.exe
REM End this section
REM end of this section :
goto :end
:XHRD
REM Here we'll add the SOFTWARE to install to the XP Home Retail version.
%SystemDrive%\DPsFnshr.exe
REM End this section
REM end of this section :
goto :end
:XHUD
REM Here we'll add the SOFTWARE to install to the XP Home Upgrade version.
%SystemDrive%\DPsFnshr.exe
REM End this section
REM end of this section :
goto :end
:XPCD
REM Here we'll add the SOFTWARE to install to the XP Professional Corporate version.
%SystemDrive%\DPsFnshr.exe
REM End this section
REM end of this section :
goto :end
:XPOD
REM Here we'll add the SOFTWARE to install to the XP Professional OEM version.
%SystemDrive%\DPsFnshr.exe
REM End this section
REM end of this section :
goto :end
:XPRD
REM Here we'll add the SOFTWARE to install to the XP Professional Retail version.
%SystemDrive%\DPsFnshr.exe
REM End this section
REM end of this section :
goto :end
:XPUD
REM Here we'll add the SOFTWARE to install to the XP Professional Upgrade version.
%SystemDrive%\DPsFnshr.exe
REM End this section
REM end of this section :
goto :end
:end
REM Here we'll add the options for every OS.
%CDROM%\SOFTWARE\ADOBE\Flash\install_flash_player_10_active_x.msi /q
%CDROM%\SOFTWARE\ADOBE\Shockwave\sw_lic_full_installer.msi /qn
%CDROM%\SOFTWARE\OEMLOGO.CMD
%CDROM%\SOFTWARE\REGISTRY.CMD
%CDROM%\SOFTWARE\CLEANUP.CMD
del /f /q %SystemDrive%\*.TAG
exit
please help
