demitrix Posted December 18, 2004 Share Posted December 18, 2004 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? Link to comment Share on other sites More sharing options...
rendrag Posted December 18, 2004 Share Posted December 18, 2004 %systemdrive% refers to whatever drive Windows is installing on. Link to comment Share on other sites More sharing options...
Nologic Posted December 18, 2004 Share Posted December 18, 2004 %systemdrive% is a symbolic link to the drive in which windows is installed on....C:\, D:\, E:\,.....(dang getting slow) Link to comment Share on other sites More sharing options...
demitrix Posted December 18, 2004 Author Share Posted December 18, 2004 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? Link to comment Share on other sites More sharing options...
Astalavista Posted December 18, 2004 Share Posted December 18, 2004 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. Link to comment Share on other sites More sharing options...
Yzöwl Posted December 18, 2004 Share Posted December 18, 2004 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now