CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2002
    Location
    ireland
    Posts
    291

    My Documents creation, where does it get the original?

    Where does Windows (XP) make a copy of the My Documents from?

    I want my installer to add some documents on a machine wide scope which will get copied into each new users My Documents when the create their account.

    Cheers,
    Eire.

  2. #2
    Join Date
    Oct 2006
    Posts
    55

    Re: My Documents creation, where does it get the original?

    I don't believe it works that easy.
    To my knowledge there is no "template directory" that Windows simply copies for a new user and renames to the account name.

    If you're aiming to achieve that something appears, for instance, in every user's start menu you should use the start menu subdirectory in the "All Users" profile, usually located at "C:\Documents and Settings\All Users(\Start Menu)".

    A user's start menu is always made up from the contents of both his own specific start menu folder and the "All Users" equivalent.

  3. #3
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    Re: My Documents creation, where does it get the original?

    it doesnt work this way, there is no template where from files are copied while creating new user's profile. My Documents folder is created and is empty when new profile is created.
    Regards,
    Ramkrishna Pawar

  4. #4
    Join Date
    Aug 2002
    Location
    ireland
    Posts
    291

    Re: My Documents creation, where does it get the original?

    That's fine guys, I've found an alternative.

  5. #5
    Join Date
    May 2002
    Posts
    10,943

    Re: My Documents creation, where does it get the original?

    Quote Originally Posted by ireland
    That's fine guys, I've found an alternative.
    Glad to hear it. Can you post it just in case someone else desires to accomplish what you have done?
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  6. #6
    Join Date
    Aug 2002
    Location
    ireland
    Posts
    291

    Re: My Documents creation, where does it get the original?

    No probs but my solution is application specific, Visual Studio in this case.
    I copy the Project Template .zip files into the Visual Studio installation, C:\Program Files\Micorosft Visual Studio 8\common7\IDE\Project Templates\CSharp.
    This makes the my custom project templates available to all users.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured