OverviewExamples
File.ExploreFolder ( |
File.ExploreFolder("C:\\Documents and Settings", SW_MAXIMIZED);
Opens the "C:\Documents and Settings" folder in the Windows Explorer view, and maximizes the folder window.
File.ExploreFolder("C:\\Temp");
Opens the "C:\Temp" folder in the Windows Explorer view.
-- Get the path to the "My Documents" folder.
sMyDocumentsLocation = Shell.GetFolder(SHF_MYDOCUMENTS);
-- Open an explore window to the "My Documents" folder
File.ExploreFolder(sMyDocumentsLocation, SW_MAXIMIZE);
Opens the user's "My Documents" folder in the Windows Explorer view, and maximizes the folder window.
See also: Related Actions