MSI Factory 2.3

File.ExploreFolder

File.ExploreFolder

This is the first topic This is the last topic  

File.ExploreFolder

This is the first topic This is the last topic  

OverviewExamples

File.ExploreFolder (

string Path,

number WindowMode = SW_SHOWNORMAL )

Example 1

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.

Example 2

File.ExploreFolder("C:\\Temp");

Opens the "C:\Temp" folder in the Windows Explorer view.

Example 3

-- 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


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us