Jump to content

Recommended Posts

Posted

i see alot of ppl using copy in there batch commands but they have it like

copy %systemdrive%\......\.....\somefile.ext %systemdrive%\......\.....\somefile.ext

so 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?


Posted

ok then wen ur settin up ur xp instll cd the batch file has commands like

ECHO.
ECHO Installing WinRAR 3.41
ECHO Please wait...
start /wait %systemdrive%\install\Applications\WinRAR\wrar341.exe /s

isnt that running the file from the cd?

Posted

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 same
COPY "%systemdrive%\install\a folder\filename.ext" %systemroot%\System32\
::or to rename the copied file
COPY "%systemdrive%\install\a folder\filename.ext" %systemroot%\System32\newname.ext

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...