geese howard Posted June 19, 2004 Posted June 19, 2004 How to use (if i can use) a COPY command in RunOnce.cmd??For example, how to copy a wallpaper directly from instalation CD?
crck3rz Posted June 19, 2004 Posted June 19, 2004 why not place walpapers in the $OEM$ distribution folders for example: \$OEM$\$$\Web\Wallpapers\ Anything placed in this folder or any of the $OEM$ folders is copied across to the hard drive during setup.
Aaron Posted June 19, 2004 Posted June 19, 2004 If you're talking about putting the copy command directly into RunOnceEx.cmd it should work without a problem, but if you're wanting to put it in one of the registry entries, then it should start with a cmd.exe /c
geese howard Posted June 19, 2004 Author Posted June 19, 2004 Use the XCOPY command. Works for me!ok!Can you give an example??
diesel_98a Posted June 20, 2004 Posted June 20, 2004 why not go one step further. use winrar to repackage, choose sfx option, and the best format, then alter the sfx options to what u want (ex: directory to the wallpaper one). this will create an executable w/ no switches needed & also add compression reducing the size & then add that to the runonce. i did and it works pretty **** good!!!!!
MCT Posted June 20, 2004 Posted June 20, 2004 Can you give an example??Start > run .. type: cmdwhen it opens type xcopy /?voila, example
geese howard Posted June 20, 2004 Author Posted June 20, 2004 why not go one step further. use winrar to repackage, choose sfx option, and the best format, then alter the sfx options to what u want (ex: directory to the wallpaper one). this will create an executable w/ no switches needed & also add compression reducing the size & then add that to the runonce. i did and it works pretty **** good!!!!!i´ll try it.thanks!
diesel_98a Posted June 20, 2004 Posted June 20, 2004 an example would be:ECHO Installing Cursors...XCOPY /Q %systemdrive%\install\Cursors %systemroot%\CursorsECHO.%systemdrive%\install\Cursors: this is where they are located at%systemroot%\Cursors: this is where u want them installed tothis is the way i used to do it, but i just created a cursors folder in the system directory that way they are automatically added.
geese howard Posted June 21, 2004 Author Posted June 21, 2004 an example would be:ECHO Installing Cursors...XCOPY /Q %systemdrive%\install\Cursors %systemroot%\CursorsECHO.%systemdrive%\install\Cursors: this is where they are located at%systemroot%\Cursors: this is where u want them installed tothis is the way i used to do it, but i just created a cursors folder in the system directory that way they are automatically added.thanks too!!!I try with winrar trick and it works great!I'll try with xcopy command....
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