Jump to content

bladehawke

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About bladehawke

bladehawke's Achievements

0

Reputation

  1. Why not set it to a particular location during install as opposed to moving it afterward? Two obvious issues here, IMHO. One, you aren't backquoting; and two the expansion of the variables. REG ADD %KEY%\001 /V 1 /D "REGEDIT /S AppData\"=\"%MYDOC%\\Application Data" should be closer to what you are trying. Your original code (assuming %MYDOC%="C:\Documents and Settings\User") would expand to C:\Documents and Settings\User\Documents and Settings\C:\Documents and Settings\User\Application Data which I am certain is not what you are after, Ultimately, per MS, the way to move Docs and Settings is in pre-installation http://support.microsoft.com/kb/314843/
×
×
  • Create New...