Help - Search - Members - Calendar
Full Version: xcopy and winamp5
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
beppemito
i want to put my winamp.ini in "c:\programmi\winamp\" and skin.wal in "c:\programmi\winamp\skins\"....
how can i do this? with
CODE
xcopy %systemdrive%\install\winamp5\Winamp.ini c:\programmi\winamp
?
can i use a variable for
CODE
c:\programmi
?
DaveXP
yes

SET PF=C:\Program Files

%PF% now is used instead of Progam Files, may have a problem if you have spaces in the command
beppemito
there aren't default variable like %systemdrive%, %systemroot% ecc....
?

and
CODE
xcopy %systemdrive%\install\winamp5\Winamp.ini c:\programmi\winamp
is correct or must i put some switch( for examble /Y ....)
Aaron
DaveXP, SET PF="C:\Program Files" should be surrounded in quotes, otherwise this happens:

C:\Documents and Settings\Aaron>%pf%
'C:\Program' <snip>
Alanoll
%ProgramFiles% i think is the variable you're looking for.


you could check what variables there are by going to a command prompt, and typing SET

it lists all variables active on the system. Everything on the left is the variable name so just put % around it and your good.

and you may want to use /Y as there should be a winamp.ini already there.

and you may also want to copy it to the windows directory as there is a copy of one there too. thumbup.gif
beppemito
QUOTE (Alanoll @ Dec 25 2003, 08:05 PM)
%ProgramFiles% i think is the variable you're looking for.


you could check what variables there are by going to a command prompt, and typing SET

it lists all variables active on the system. Everything on the left is the variable name so just put % around it and your good.

and you may want to use /Y as there should be a winamp.ini already there.

and you may also want to copy it to the windows directory as there is a copy of one there too. thumbup.gif

thanks a lot thumbup.gif




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.