By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,557 Members | 1,588 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,557 IT Pros & Developers. It's quick & easy.

Environment.SpecialFolder enumeration

P: n/a
Hello you,

the Environment.SpecialFolder enumeration of .NET 1.0 doesn't have the
member "MyComputer". Is there anyway to get this 'virtual folder' and its
contents in another similar way?

Unlike some other 'virtual folders', there is no reference in the registry
to a physical directory for "MyComputer".

Thanks,

me.
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Unlike some other 'virtual folders', there is no reference in the registry
to a physical directory for "MyComputer".


There is no directory for it.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 21 '05 #2

P: n/a
"Mattias Sjögren" <ma********************@mvps.org> schrieb:
Unlike some other 'virtual folders', there is no reference in the registry
to a physical directory for "MyComputer".


There is no directory for it.


ACK. 'Environment.GetFolderPath(Environment.SpecialFold er.MyComputer)' will
return "" on my Windows XP Professional SP2 machine running .NET 1.1 SP1.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.