Orsi Posted October 5, 2010 Share 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! Link to comment Share on other sites More sharing options...
maxXPsoft Posted October 5, 2010 Share 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 Link to comment Share on other sites More sharing options...
Orsi Posted October 5, 2010 Author Share 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> Link to comment Share on other sites More sharing options...
maxXPsoft Posted October 5, 2010 Share Posted October 5, 2010 long discussion on it you will need %userprofile% in that 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