The problem is that many of the lines to be executed in the batch file are not running applications. When running of the applications fails, a message is returned, either "The system cannot find the path specified." or "'[Executable]' is not recognized as an internal or external command, operable program or batch file.". This seems odd; some things run fine others do not run at all when no error exists in the path to the .EXE files (I test ran the test batch file in Windows 2000, logged in as Administrator and had no problem).
I quote some of my test batch file below (including all parts with problem, bolding for emphasis):
".CMD batch file run from CMDLINES.TXT" said:
:: Install standalone patches
:: Cannot Change Time Zone on the Time & Date Tab
Updates\No_integrate\Time_Fixes\Control_Panel\Windows2000-KB832004-x86-ENU.EXE /passive /norestart
:: DST Fix
Updates\No_integrate\Time_Fixes\DST_fix\KB951072.EXE /Q
:: MDAC 2.8
Updates\No_integrate\MDAC_2_8\MDAC_TYP.EXE /Q /C:"dasetup /Q /N"
:: AOL Image Support Update for Windows 2000
AOL_image_support\aolsupp.exe /Q
:: Install Recovery Console
IF NOT EXIST %SystemDrive%\cmdcons\BOOTSECT.DAT (..\I386\winnt32.exe /cmdcons /unattend)
:: Install Windows Media Player 9
wmp9\MPSetup.exe /Q
:: Update Windows Media Player 9 to 9.00.00.3349
Updates\Windows_Media_Player_9\WindowsMedia9-KB917734-x86-ENU.exe /passive /norestart
:: Install Microsoft Java Virtual Machine Build 5.00.3810
MS_Java\5.00.3809\msjavwu.exe /Q /R:N
MS_Java\5.00.3810\MSJavWU.exe /Q /R:N
:: Install Internet Explorer 6 Service Pack 1 and Outlook Express 6
IE60SP1\ie6setup.exe /Q:U /R:N
:: Install Internet Explorer 6 Serivce Pac 1 Updates
:: Comulative - June 2006
Updates\Internet_Explorer_6_SP1\IE6.0sp1-KB916281-Windows-2000-XP-x86-ENU.exe /passive /norestart
:: Install DirectX 9.0c (x86) with updates to March 2008
directx_mar2008_redist_x86\DXSETUP.exe
The commands that are failing to work have been bolded in the quoted text; everything else seems to work correctly.
What is wrong? How may the problem be fixed?
The Windows 2000 installation is being performed from a disc, and the directory structure is the following:
Attached File(s)
-
tree.gif (4.73K)
Number of downloads: 11
This post has been edited by Ascii2: 12 October 2008 - 01:56 PM



Help

Back to top









