Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# windows forms open directory in explorer

// opens the folder in explorer
Process.Start(@"c:	emp");
// opens the folder in explorer
Process.Start("explorer.exe", @"c:	emp");
// throws exception
Process.Start(@"c:does_not_exist");
// opens explorer, showing some other folder)
Process.Start("explorer.exe", @"c:does_not_exist");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #windows #forms #open #directory #explorer
ADD COMMENT
Topic
Name
8+6 =