ShellExecute

From kwiki

Jump to: navigation, search
This article is written by Konrad, thus using rather nonstandard English:)

ShellExecute (DNM Script function)

full declaration

bool ShellExecute (string strOperation,string strPath,[string strParams],[string strDir])

return value

bool

description

Examples:

 ShellExecute("","calc.exe");//will open the calculator
 ShellExecute("","c:\\Windows");//will open "c:\Windows" folder
 ShellExecute("","http://www.konradp.com");//will open konradp.com website
 ShellExecute("","mailto:someone@somewhere");//will open your default e-mail client

ShellExecute is an equivalent for Windows Api function ShellExecute, thus you can find it on MSDN here: http://search.msdn.microsoft.com/search/default.aspx?siteId=0&tab=0&query=ShellExecute


keywords: shell execute run open program application document folder file website url mail


Personal tools
konradp.com