June 19, 200422 yr How to use (if i can use) a COPY command in RunOnce.cmd??For example, how to copy a wallpaper directly from instalation CD?
June 19, 200422 yr 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.
June 19, 200422 yr 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
June 20, 200422 yr 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!!!!!
June 20, 200422 yr Can you give an example??Start > run .. type: cmdwhen it opens type xcopy /?voila, example
June 20, 200422 yr Author 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!
June 20, 200422 yr 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.
June 21, 200422 yr Author 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....
Create an account or sign in to comment