Copy files to different dir - Printable Version +- Support Forum (https://www.vitaligraf.de/mybb) +-- Forum: Windows Unattended CD Creator (https://www.vitaligraf.de/mybb/forumdisplay.php?fid=9) +--- Forum: English (https://www.vitaligraf.de/mybb/forumdisplay.php?fid=7) +--- Thread: Copy files to different dir (/showthread.php?tid=358) |
Copy files to different dir - bobo5290461 - 2009-03-26 Hi, i'm a first time user of windows unattended cd creator. My question is : I have created with success an unattended windows xp now i would like to have a directory c:\PORTABLE with several other directories with portable programmes (GIMP, FIREFOX portable, NOTePAD portable enz....) So just copy to the directory portable and thats it. How do i do this in the program windows unattended cd creator? TX anyone, anywhere, anytime, anyhow. RE: Copy files to different dir - Vitali - 2009-03-26 1. integrate portable soft as any another soft in CD 2. as install step use xcopy instead of "anysetup.exe" like: xcopy "%cdrom%\portable\firefox" "c:\progs\firefox" /S /R this copy a directory from CD to your directory on HDD. Read more help about xcopy in internet. RE: Copy files to different dir - bobo5290461 - 2009-03-27 I have tried with : xcopy %CDROM%\Software\Portable" "c:\Portable" /R /S and it doesn't work. What did i do wrong? RE: Copy files to different dir - Vitali - 2009-03-27 (2009-03-27, 10:31 AM)bobo5290461 Wrote: I have tried with :one quote is missing! xcopy "%CDROM%\Software\Portable" "c:\Portable" /R /S RE: Copy files to different dir - bobo5290461 - 2009-03-27 Thank you very much. It works great now. Only the program asks me if its a file or a directory so i needed another switch xcopy "%CDROM%\Software\Portable" "c:\Portable" /R /S /I i have put an /I after it , does that seems right to you or is it in the wrong place? RE: Copy files to different dir - Vitali - 2009-03-27 (2009-03-27, 12:15 PM)bobo5290461 Wrote: Thank you very much.That is unimportant. And I think it better to use /Y instead of /R |