Hi,
The function WWShutDownWinNT40 can be used to either restart, shutdown, or simply logoff a Windows session.
WWShutDownWinNT40 ( ShutDownFlag );
where ShutDownFlag is an integer value of 1, 2, or 3 signifying the following type of shutdown:
1 = Log the current user off of Windows
2 = Shut down Windows
3 = Reboot the PC
This function can be used in both Windows NT and Windows 2000.
How can I use this function in Windows XP or is there any other function like this.
This script is linked to the exit button in intouch.
It was used in intouch 7.0 and the operating system is NT4.0.
I convert the project from intouch 7.0 to 10.1 and so now i have to use this script in intouch 10.1 and the operating system XP.
Thank you for your advance.
[?]: WWShutDownWinNT40 for windows XP
Re: [?]: WWShutDownWinNT40 for windows XP
You can use func wwdoscommand with argument "shutdown -r -f -t 00"
http://fa.sammicomputer.co.kr/TECH/html/wwdoscom.htm
http://fa.sammicomputer.co.kr/TECH/html/wwdoscom.htm