VK3LU > 19-06-2023, 09:32 PM
VK5PJ > 21-06-2023, 01:33 PM
VK3LU > 21-06-2023, 09:40 PM
VK5PJ > 23-06-2023, 11:11 AM
VK3LU > 23-06-2023, 07:52 PM
VK5PJ > 24-06-2023, 08:52 AM
@echo off
rem kill off wsjt-x in case its running
taskkill /IM wsjtx.exe /F
ping 8.8.8.8 -n 5
rem kill off JTDX in case that's running
taskkill /IM jtdx.exe /F
ping 8.8.8.8 -n 5
rem turn off the icom 7600
C:\Python27\python.exe C:\ham_radio\IC-7600\icom-power-off-com3.py
ping 8.8.8.8 -n 5
rem shutdown after a 15 sec wait
shutdown /S /T 15
VK2CSW > 24-06-2023, 12:39 PM
VK5PJ > 24-06-2023, 01:06 PM
VK5PJ > 24-06-2023, 01:14 PM
(24-06-2023, 12:39 PM)VK2CSW Wrote: Could you not use TIMEOUT or SLEEP DOS methods for the delay?
I am sure that's what we used to do in the dim dark past, when I used to use more scripts than programs...
VK5TM > 24-06-2023, 02:00 PM
VK2CSW > 24-06-2023, 07:57 PM
(24-06-2023, 01:14 PM)VK5PJ Wrote: Hello Colin, there is no SLEEP tool native to any modern Windows install, it is a utility that must be installed, hence why I avoid referring to it. Yes there are other ways to do it, including timeout, I just find PING is handy and is universal across most Operating systems, which streamlines my scripting efforts.
VK3LU > 24-06-2023, 09:00 PM
VK5PJ > 25-06-2023, 08:44 AM
VK3LU > 25-06-2023, 02:33 PM