Hi Steinie,
thanks for the code snippet. Regarding the path - although it might seem impossible, some users (me on my desktop) do not have Windows installed on C drive.
How to solve such a situation? How to detect Windows path?
This is where OS module can help with OS_GetSpecialFolder.
The code snippet than changes to:
Uses "OS" String utility_path = OS_GetSpecialFolder(%CSIDL_SYSTEM)+"calc.exe" OS_ShellExecute("open", utility_path, "", "", %OS_WNDSTYLE_NORMAL)
Petr
Bookmarks