December 18, 200421 yr i see alot of ppl using copy in there batch commands but they have it likecopy %systemdrive%\......\.....\somefile.ext %systemdrive%\......\.....\somefile.extso i was wondering doesn %systemdrive% refer to the CD during the installin process? so wouldnt that try to copy the file to the CD instead of teh HD?
December 18, 200421 yr %systemdrive% is a symbolic link to the drive in which windows is installed on....C:\, D:\, E:\,.....(dang getting slow)
December 18, 200421 yr Author ok then wen ur settin up ur xp instll cd the batch file has commands like ECHO.ECHO Installing WinRAR 3.41ECHO Please wait...start /wait %systemdrive%\install\Applications\WinRAR\wrar341.exe /sisnt that running the file from the cd?
December 18, 200421 yr nope....to make it run from the cd it is %cdrom% instead of %systemdrive%pls read the guide at how to make your U.A. run from cd herehttp://unattended.msfn.org/xp/runonceex_cd.htmgive yourself 2 days reading http://unattended.msfn.orgthere is a lot of stuff to cover.
December 18, 200421 yr also, unless you are needing to change the filename or extension of the file you are copying you do not need to reference it twice:::to keep copied filename the sameCOPY "%systemdrive%\install\a folder\filename.ext" %systemroot%\System32\::or to rename the copied fileCOPY "%systemdrive%\install\a folder\filename.ext" %systemroot%\System32\newname.ext
Create an account or sign in to comment