%USERPROFILE%\Documents with shared folders

Discussion in 'Windows Virtual Machine' started by Alan Antonuk, Mar 24, 2009.

  1. Alan Antonuk

    Alan Antonuk Bit poster

    Messages:
    2
    I'm using parallels Desktop 4.0 and Windows Vista as a guest host. I have the Shared Profile folders turned on, and things appear correctly when accessing things like the Documents folder through the start menu, however certain programs look for the documents folder by doing %USERPROFILE%\Documents, which fails.

    Anyone found a way around this so that when a program trys to access %USERPROFILE%\Documents (or other things) it gets the shared profile?
     
  2. Alan Antonuk

    Alan Antonuk Bit poster

    Messages:
    2
    Found a solution to this: symlinks. Turn off the shared profile folders, keep the home directory sharing, then in the guest create symlinks to the the appropriate folders:

    1. Open a cmd.exe window
    2. cd \Users\{username}
    3. mklink /D Documents \\.psf\Home\Documents
    4. mklink /D Desktop \\.psf\Home\Desktop

    Not sure if there are any negative effects (I suppose if \\.psf\Home\* wasn't available it might cause problems).
     

Share This Page