TipsOnLips.net

Your .net tips and tricks source

About the author

Author Name is someone.
E-mail me Send mail

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010


Open a system folder in C#

This is how to open a system folder in C#: 

string myDocspath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);

string windir = Environment.GetEnvironmentVariable("WINDIR");

System.Diagnostics.Process process = new System.Diagnostics.Process();

process.StartInfo.FileName = windir + @"\explorer.exe";

process.StartInfo.Arguments = myDocspath;

process.Start();

 

Source: http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/ce864f19-25c1-4601-a1ff-6019c703ccdb


Categories: C#
Posted by developer on Tuesday, September 30, 2008 8:16 AM
Permalink | Comments (7) | Post RSSRSS comment feed

Comments

pass saliva drug test United States

Tuesday, November 10, 2009 3:57 PM

pass saliva drug test

I bookmarked your post will read this latter


Regards
Yost

Arabic Translation Service United States

Friday, November 13, 2009 5:51 AM

Arabic Translation Service

Hi nice POst

Regards
Honey

house clearance United States

Saturday, November 21, 2009 5:20 PM

house clearance

This is niche your post has been very helpfull


Regards
Opop


Annuity Quotes United States

Sunday, January 24, 2010 3:24 PM

Annuity Quotes

Doing some browsing and noticed your blog looks a bit messed up in my K-meleon internet browser. I think I'm the only one still using it....

home remedies for curing acne United States

Thursday, February 11, 2010 3:03 PM

home remedies for curing acne

Hmm singular this instal is totaly digressive to the look ask I entered in google but it was recorded on the original attender.

Regards
martin

home remedies to cure acne United States

Thursday, February 11, 2010 3:04 PM

home remedies to cure acne

Pretty Absorbing accumulation. Couldnt be typewritten any improved. Measuring this position reminds me of my old shack beast! He e'er kept talking almost this. I testament presumptuous this move to him. Pretty trustworthy he present jazz a redemptive see. Thanks for intercourse!

Regards
monty

best hair removal product United States

Saturday, February 13, 2010 1:06 AM

best hair removal product

Easily, the job is real the large on this laudable subject. I occur with your conclusions and testament thirstily seem headlong to your upcoming updates. Locution thanks testament not rightful be adequate, for the fantasti c lucidity in your oeuvre. I faculty now touching your rss enclose to rescript secret of any updates. Dry work and such success in your enterprise enterprize!

Regards
japes

Add comment


(Will show your Gravatar icon)

  Country flag


Loading