Orsi Posted October 5, 2010 Posted October 5, 2010 Hey there, how can I copy some folders to a user profile folder (C:\Users\Orsi\AppData\Roaming)?Some softwares records its settings in this place, but if I try to use $OEM$\$1\C:\Users\Orsi\AppData\Roaming\folder it is replaced by the software setup.Is there a variable like $1 for the user profile or something?Tks!
maxXPsoft Posted October 5, 2010 Posted October 5, 2010 User is not created till after login or after OOBE pass. You can do that with <FirstLogonCommands> $1 <<- Drive Root Drivers <<- where some OEM place driver files Install <<- where I place most things and call from there. EX: %SystemRoot%\Install\Firstlog.cmd
Orsi Posted October 5, 2010 Author Posted October 5, 2010 something like this?<FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>xcopy %systemdrive%\Software\Config\uTorrent %appdata% /S /R /K /Y</CommandLine> <Order>170</Order> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand></FirstLogonCommands>
maxXPsoft Posted October 5, 2010 Posted October 5, 2010 long discussion on it you will need %userprofile% in that
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now