Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
tcEXEFile = "C:\Windows\System32\Shutdown.exe"
tcParameters = "-s -t 1 -f"
tcCmd = "Open"
tcCmd = PROPER(m.tcCmd)
* --- API Call to communicate with an application based on the registered file-type. ---
DECLARE INTEGER ShellExecute ;
IN SHELL32.DLL ;
INTEGER nWinHandle,;
STRING cOperation,;
STRING cFileName,;
STRING cParameters,;
STRING cDirectory,;
INTEGER nShowWindow
IF FILE(tcEXEFile)
* --- If Old DOS Shutdown Exists, Run It To Shutdown Workstation ---
lnFileStatus = ShellExecute(0,"&tcCmd",tcEXEFile,tcParameters,"",1)
ENDIF
Code:tcEXEFile = "C:\Windows\System32\Shutdown.exe"