How do I get the Virtual Machines folder on Win7?

Posted by xpmore on Stack Overflow See other posts from Stack Overflow or by xpmore
Published on 2010-04-20T20:45:16Z Indexed on 2010/04/21 5:53 UTC
Read the original article Hit count: 196

I'm writing a tool called XP-More, which should help manage Windows 7 Virtual Machines. The first thing the tool has to do when launched is find the VM folder. However, turns out that folder is not listed as a Windows Special Folder. I use a workaround, but it's unreliable. Ideally,

Environment.GetFolderPath(Environment.SpecialFolder.VMFolder)

or so would have done the job, but VMFolder is a fiction of my imagination. Is there any real way to get that folder?

© Stack Overflow or respective owner

Related posts about windows-7

Related posts about virtual-pc