dansouza Posted August 14, 2005 Share Posted August 14, 2005 Does anyone know how to copy all of my picture into the "My Documents\My Pictures" folder so they're there when the install is done?Any help would be appreciated. Link to comment Share on other sites More sharing options...
Ðrзω™ Posted August 14, 2005 Share Posted August 14, 2005 yeah use the $OEM$ folder structure then use $Docs\Your username\My Documents\My Pictures (if anyone knows a more optimal way please correct me ) Link to comment Share on other sites More sharing options...
Sonic Posted August 15, 2005 Share Posted August 15, 2005 yeah use the $OEM$ folder structure then use $Docs\Your username\My Documents\My Pictures (if anyone knows a more optimal way please correct me )<{POST_SNAPBACK}>it's doesn't work ... in fact, I have already test this but when my batch creates users, it creates a folder MyUserName.xxxx ... finally I use $1 folder and a batch to copy files to other folders .... Link to comment Share on other sites More sharing options...
dansouza Posted August 15, 2005 Author Share Posted August 15, 2005 What I was wondering is if I could do it with it a batch file or with RunOnceEx as once I'm auto-logged on the folder "C:\Documents and Settings\Dan\My Documents\My Pictures" will have already been created. Link to comment Share on other sites More sharing options...
Wesmosis Posted August 15, 2005 Share Posted August 15, 2005 plz I got the same issueI wanna copy some files to the (My Documents) FolderI'm creating an account named XPSP2so any ideas? Link to comment Share on other sites More sharing options...
supertoast Posted August 15, 2005 Share Posted August 15, 2005 It's making another directory MyUserName.xxxx because (I think) you are creating the directory structure before the install makes them, therefor it recognises that folder already exists and makes that obscure folder instead.I am having this problem and doing anything like that from a cmd/bat file run from the GuiRunOnce section of my winnt.sif file.Well, that's my plan anyway lolChris Link to comment Share on other sites More sharing options...
timos5555 Posted August 15, 2005 Share Posted August 15, 2005 Place everything in:$docs\default user\my documentsThis should copy it all acrossHope this helps Link to comment Share on other sites More sharing options...
Sonic Posted August 15, 2005 Share Posted August 15, 2005 (edited) In your $OEM$ make directory called $1 , and make another MyDocs for example. Just copy the content in the MyDocs.Creates a batch file contains :xcopy "%SystemDrive%\MyDocs" "%UserProfile\My Documents\" /srd /s /q "%SystemDrive%\MyDocs"Runs this batch in your RunOnceEx ....It's a solution ... other exist too ...edit: okay supertoast Edited August 15, 2005 by sonic Link to comment Share on other sites More sharing options...
Wesmosis Posted August 15, 2005 Share Posted August 15, 2005 (edited) @Supertoastyeah about making an useraccount.xxx issue@Timosneeds test........thanx I'll (or one of us) give it a shot@Sonicthanx........seems coolbut just to learn something........what if I make cmd file called copytodoc.cmd and then put in cmdlines instead of RunExOnce.cmd!BTW, YOU FOR GOT THE (%) AFTER %USERPROFILE ! like this:cmdlines.cmd[COMMANDS]"useraccounts.cmd""RunOnceEx.cmd""copytodoc.cmd"copytodoc.cmdxcopy "%SystemDrive%\MyDocs" "%UserProfile%\My Documents\" /srd /s /q "%SystemDrive%\MyDocs"any evil will happen?! I don't want to miss up my UAXPCD! and I'de like to learn about the cmdlines.cmd and putting cmd files in it Edited August 15, 2005 by Wesmosis Link to comment Share on other sites More sharing options...
Wesmosis Posted August 15, 2005 Share Posted August 15, 2005 doesn't work Link to comment Share on other sites More sharing options...
Sonic Posted August 15, 2005 Share Posted August 15, 2005 @Wesmosis:You should run in RunOnceEx because cmdlines runs @ T-12 ... no user logged yet ... you must login with the user (and with the good My Documents).note: Each user has each My Documents ... Link to comment Share on other sites More sharing options...
Wesmosis Posted August 15, 2005 Share Posted August 15, 2005 ok , I made an cmd called copytodoc.cmd and add it in RunExOnce.cmdbut it didn't work , I donno whyany testers? Link to comment Share on other sites More sharing options...
BlueMe Posted August 23, 2005 Share Posted August 23, 2005 (edited) Why Not Use SFX ?Later Edit :Use SFX Options - Modes - Hide All , Overwrite All and Path Would Be : C:\Documents and Settings\Administrator\Desktop\PicturesThis Is How i Do . Edited August 23, 2005 by BlueMe Link to comment Share on other sites More sharing options...
dansouza Posted September 3, 2005 Author Share Posted September 3, 2005 I'll try all of the above 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