Nice!
Basically the build process went from DVD's & ISO's to USB. The same batch files are involved but got changed a bit, not by me, but by our builds guy on the other side of the country.
So what your seeing was originally sat in a DVD. Was then ripped out and tweaked a little to use USB. The only thing I have done is change the path but here it is untouched from a work build stick. Basically what it does it check the computer name of the PC and then uses that info to lay down the appropriate ghost image (for a desktop or laptop or different model of either) after the appropriate ghost gets laid (
you can see in the script L for a laptop D for desktop). After the ghost finished it then modifies the sysprep file with the correct machine name from the BIOS (obviously as when ghosted its a clone etc). Then it reboots hits sysprep with the correct name and joins domain, gets patched etc. So with this in mind I answer these.
The CD (COMPLETELY uneeded in such a scheme) WAS assigned letter X::
CODE
REM LH MSCDEX.EXE /D:cd0 /L:X
WHAT the heck is supposed to be letter D: ?
Please choose one:
The USB stick
The Internal hard disk
Something else
IT WAS THE DVD WOULD GET IT SINCE THIS IS STRIPPED FROM THE DVD'S WE USED TO USE etc.
I remember X got the dvd, but as for D: God knows. (<you sure LOL)
WHAT the heck is supposed to get letter C: ?
This:
CODE
DI1000DD.sys /DC
is to have the USB stick as C:
Then WHICH letter will get the HD?
This is true, I was just trying to see what would work but it ain't happening. Funny how its the same error I got at the start when I have my folder called 32L. I wonder if there is a folder or file name being created that is causing the same problem. Hmmm.
here is the error

Uploaded with
ImageShack.us@ECHO OFF
REM Deployment Procedure
REM
REM Set the image variable (so it's obvious)
REM Set Image=SR31
Set Image=SR32
REM Set Image=SR40
REM set Image=Flexi
REM
REM Get the Bios info in SMBIOS2.TXT on the local ram drive (Q:)
rem
dir q:\ > q:\dir.txt
C:\smbios2.exe /G > q:\smbios2.txt
REM
C:\sed -n -e "s/Product Name:/Set MBoard=/w q:\MBoard.Bat" q:\smbios2.txt
C:\sed -e "s/ '//g;s/'//g" q:\MBoard.bat > q:\prodname.bat
REM
C:\sed -n -e "s/Product:/Set MBoard1=/w q:\MBoard1.Bat" q:\smbios2.txt
C:\sed -e "s/ '//g;s/'//g" q:\MBoard1.bat > q:\prodcode.bat
REM
C:\sed -n -e "s/Asset Tag Number:/Set AssetTag=/w q:\Asset1.Bat" q:\smbios2.txt
C:\sed -e "s/ '//g;s/'//g" q:\Asset1.bat > q:\asset.bat
REM
REM Set the AssetTag environment variable
Call q:\Asset.Bat
REM
REM Set the MBoard environment variable
call q:\prodname.bat
Call q:\prodcode.Bat
REM
REM Validate the AssetTag as being Znnnnnnn where n is 0-9
ECHO Have determined machine as %mboard% , code [%mboard1%]
ECHO Have determined machine name as %AssetTag%
rem
pause
rem
C:\sed -e "s/AssetTag/AssetChr/" q:\Asset.Bat > q:\Asset1.Bat
C:\sed -e "s/Z1/zdOK/g" q:\Asset1.bat > q:\Asset2.Bat
C:\sed -e "s/z1/zdOK/g" q:\Asset2.bat > q:\Asset3.Bat
C:\sed -e "s/Z2/zlOK/g" q:\Asset3.bat > q:\Asset4.Bat
C:\sed -e "s/z2/zlOK/g" q:\Asset4.bat > q:\Asset5.Bat
C:\sed -e "s/[0-9]/nOK/g" q:\Asset5.Bat > q:\AssetChk.Bat
Call q:\AssetChk.Bat
If %AssetChr%==zdOKnOKnOKnOKnOKnOKnOK Goto :DoGhostD
If %AssetChr%==zlOKnOKnOKnOKnOKnOKnOK Goto :DoGhostLECHO.
ECHO Asset Tag retrieved from BIOS does not match Znnnnnnn where n=0-9
ECHO.
ECHO Asset Tag discovered is %AssetTag%
ECHO.
ECHO Change the Asset Tag in the BIOS and retry the installation
ECHO.
Pause
C:\reboot.com
EXIT
:DoGhostD
REM
REM Load the Ghost image (Note: Ghost.exe is delivered by the OS Software worksheet)
C:\ghost.exe -nousb -fni -clone,mode=load,src=C:\D%Image%.gho,dst=2 -sure
Goto :DISKINFO
:DoGhostL
REM
REM Load the Ghost image (Note: Ghost.exe is delivered by the OS Software worksheet)
C:\ghost.exe -nousb -fni -clone,mode=load,src=C:\L%Image%.gho,dst=2 -sure
Goto :DISKINFOREM
:DISKINFO
REM
echo omnifs
REM Determine the hard drive volume number - Get disk info into text file
C:\OMNIFS -nousb INFO > q:\DSKINFO.TXT
REM
echo volinfo
REM Determine the hard drive volume number - Get volume info of NTFS drive into text file
C:\SED -n "s/NTFS/SFTN/w q:\VOLINFO.TXT" q:\DSKINFO.TXT
REM
echo volnum
REM Determine the hard drive volume number - remove everything after the " (" - that is space open-bracket
C:\SED -e "s/^[ ]*/Set Vol=/g;s/ (.*$//g" Q:\VOLINFO.TXT > Q:\VOL.BAT
REM
Call q:\VOL.BAT
ECHO Using %VOL% as volume number for hard-drive
REM
echo sysprep read
REM Get the sysprep.inf file from the image to the local ram drive (Q:)
C:\omnifs -nousb copy %VOL%\sysprep\sysprep.inf q:\sysprep.old
REM
echo set computer name
REM Substitute the AssetTag into the ComputerName sysprep entry (requires original sysprep.inf as sysprep.old)
C:\sed -e "s/ComputerName=.*$/ComputerName=%AssetTag%/g" q:\sysprep.old > q:\sysprep.inf
REM
echo update uphal check
REM Check for the n620 (0824) and the nc6000 (0890) and do the HALFix otherwise don't
If %Mboard1%==0824 Goto :HAL_Fix
If %Mboard1%==0890 Goto :HAL_Fix
Goto :NoHAL_Fix
REM
REM Comment out the UpdateUPHAL line for the n620 (0824) and the nc6000 (0890)
:HAL_Fix
C:\sed -e s/UpdateUPHAL/;UpdateUPHAL/ q:\sysprep.inf > q:\sysprep.new
:NoHAL_Fix
REM
echo replace modified sysprep
REM Copy the modified sysprep.inf back to the image
C:\omnifs -nousb copy q:\sysprep.inf %VOL%\sysprep\sysprep.inf
REM
REM If there is a sysprep.new (with the commented out UpdateUPHAL) then overcopy it
if exist C:\sysprep.new C:\omnifs -nousb copy C:\sysprep.new %VOL%\sysprep\sysprep.inf
REM
:EXIT_POINT
REM
C:\reboot.com