Bob Sock Posted April 27, 2008 Share Posted April 27, 2008 Hello, I'm using nLite to create an unattended XP install disk and was wondering if it is possible to copy a folder with files in it from a location on the disk to the desktop after the installation is completed?If this is done using the runonce option in nLite could someone post the line I would need to put into the runonce section in nLite or point me to a location where I could find an example.Thanks. Link to comment Share on other sites More sharing options...
Mihai_m Posted April 29, 2008 Share Posted April 29, 2008 (edited) Hi, I'm using a "Quick.cmd" with command xcopy %systemdrive%\Install\Desktop\*.* "%systemdrive%\Documents and Settings\Mike\Desktop" /s /ithe RunOnce line:[GUIRunOnce]"%systemdrive%\Install\Quick.cmd"I'm using $OEM$ folders Ex. \$OEM$\$1\Install\DesktopYou can put files and folders in your "Desktop"Think this will help.Cheers Edited April 29, 2008 by Mihai_m Link to comment Share on other sites More sharing options...
Bob Sock Posted April 30, 2008 Author Share Posted April 30, 2008 Thanks for the help.I'm not too sure how the Quick.cmd works though.In nLite I put just this in the run once %systemdrive%\Install\Quick.cmd.And under $OEM$ I make a folder called $1 and in $1 a folder called Install and in Install a folder called Desktop. And all the files I want should be located in Desktop.I opened notepad and copied xcopy %systemdrive%\Install\Desktop\*.* "%systemdrive%\Documents and Settings\[b]Bob[/b]\Desktop" /s /i into it and saved it as Quick.cmd, where do I put the Quick.cmd?I really appreciated the help but I'm new at all the command line stuff. Link to comment Share on other sites More sharing options...
BikinDutchman Posted April 30, 2008 Share Posted April 30, 2008 You can put your files in:$oem$\$Docs\All Users\Desktopor:$oem$\$Docs\Your Account\DesktopGood luck, Link to comment Share on other sites More sharing options...
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