dansouza Posted August 14, 2005 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.
Ðrзω™ Posted August 14, 2005 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 )
Sonic Posted August 15, 2005 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 ....
dansouza Posted August 15, 2005 Author 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.
Wesmosis Posted August 15, 2005 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?
supertoast Posted August 15, 2005 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
timos5555 Posted August 15, 2005 Posted August 15, 2005 Place everything in:$docs\default user\my documentsThis should copy it all acrossHope this helps
Sonic Posted August 15, 2005 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
Wesmosis Posted August 15, 2005 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
Sonic Posted August 15, 2005 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 ...
Wesmosis Posted August 15, 2005 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?
BlueMe Posted August 23, 2005 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
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now