Jump to content

Copy folders to desktop in $OEM$?


Recommended Posts

Guest PieSoup
Posted

I have tried to make a few folders on the desktop by making $Docs/Administrator/Desktop/bla, but when I acculy install the copy of xp, all the real Administrator folder is in a folder call Administrator.COMPUTER, I have tried putting the folders in there, but it just created Administrator.COMPUTER.001, so my question is, is it possible to use the $OEM$ folder to make folders on the desktop? :blink:


Posted

Well, i think since there's already a folder called Administrator, your computer is creating another folder for Admin account.

Maybe you can think of packing your files in to an SFX archive to be runned during RunOnceEx stage?

Posted (edited)

You should be able to write a simple batch file using the variable for the %userprofile%\desktop to get it on there.

Just modify this command below using that to grab the source files from the CD.

(Oh and you'd need to put a copy of robocopy in your system32 folder inside $OEM$ as it doesnt come with the OS as standard)

@ECHO OFF
for %%i in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\i386 SET cdrom=%%i:
robocopy %CDROM%\I386 %windir%\I386 /MIR /V
exit

Edited by Lagerstars

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...