December 31, 200421 yr Hello, I'm trying to figure out how to copy files for certain apps w/o the need to make a SFX for them.I have tried;REG COPY %KEY%\005 /V 3 /D "%systemdrive%\Install\Applications\coverXP\Test.txt" "C:\Program Files\coverXP\"REG ADD %KEY%\005 /V 3 /D "XCopy %systemdrive%\Install\Applications\coverXP\Test.txt" "C:\Program Files\coverXP\"REG ADD %KEY%\005 /V 3 /D "Copy /y %systemdrive%\Install\Applications\coverXP\Test.txt" "C:\Program Files\coverXP\"Any suggestions?
December 31, 200421 yr Skip the REG COPY %KEY%\005 /V 3 /D bit. Trymd "C:\Program Files\coverXP"Copy /y "%systemdrive%\Install\Applications\coverXP\Test.txt"
December 31, 200421 yr I think This Is The Cmd that you need.REG ADD %KEY%\005 /V 3 /D "cmd.exe /c Copy %systemdrive%\Install\Applications\coverXP\Test.txt" "C:\Program Files\coverXP\"You Could Also Make A Batch File That Does The Copy Part and call the batch at the Run1 part.REG ADD %KEY%\005 /V 3 /D "Your-location-of-cmd\Name-of-the-cmd."Batch Codeecho off cls mode con: Cols=62 Lines=4color f7Copy "%systemdrive%\Install\Applications\coverXP\Test.txt" "C:\Program Files\coverXP\
December 31, 200421 yr Author Wow you two were quick, thank you for the suggestions, I am trying them now, will post back the results.Thanks Again
December 31, 200421 yr Author Well neither of these suggestions worked. The 1st however made two new folders on my C:\ 1 is "Copy" & the other is "Y" (both of which are empty)This is how i entered them;md "C:\Program Files\DVD Decrypter" Copy /y "%systemdrive%\Install\Applications\DVDDecrypter\Test.txt" /f REG ADD %KEY%\005 /V 3 /D "cmd.exe /c Copy %systemdrive%\Install\Applications\coverXP\Test.txt" "C:\Program Files\coverXP\" /fAny other suggestions?
January 1, 200521 yr This Codes Works Perfect on my Computer.I dont use C to install Windows.So It made On My ComputerF:\Install\Applications\coverXPThan On C It MadeC:\Program Files\coverXPSo give This A Tryecho off cls mode con: Cols=62 Lines=4color f7set CD1=%systemdrive%\Install\set CD2="C:\Program Files\coverXP\"mkdir "%CD1%Applications\coverXP\"mkdir %CD2%ping -n 1 127.0.0.1>nulEcho Test me > %CD1%Applications\coverXP\Test.txtdate /t >> %CD1%Applications\coverXP\Test.txt time /t >> %CD1%Applications\coverXP\Test.txt Copy %CD1%Applications\coverXP\Test.txt %CD2%ping -n 1 127.0.0.1>nul%CD2%Test.txt
January 1, 200521 yr Change it to this and it should work for youREG ADD %KEY%\005 /V 3 /D "cmd.exe /c Copy \"%systemdrive%\Install\Applications\coverXP\Test.txt\" \"C:\Program Files\coverXP"\" /fHopefully this will work, I grabbed it from a simular copy process I did just last week. The reason for all the extra \ is because of the multiple quotes.
January 1, 200521 yr Sorry about the mistake. Should bemd "C:\Program Files\coverXP"Copy /y "%systemdrive%\Install\Applications\coverXP\Test.txt" "C:\Program Files\coverXP"
January 1, 200521 yr You could try this. create a folder called coverXP in $OEM$\$Pogs and copy the test.txt file in there. The $Progs will be automatically copied to Program Files when windows is installed. Hope this helps
January 2, 200521 yr Author Thank you all for your suggestions. B) I went with gunsmokingman's suggestion as it seems to work best for my UA.Thank you all again.
Create an account or sign in to comment