Beep.exe, Sleep.exe, IsLock.exe, IsIdle.exe – simple utilities for commandline

Beep.exe (2016.02.18)

Makes sound speaker system for a given frequency and duration. The parameters are set at the command prompt (beep /? – Help). Intended for use in bat / cmd-file WinNT/2000/XP/2003. In 64-bit version of Windows – not working (or rather, the sound of squeaking out there not on the speaker and the sound card).

Download “CMD_Beep.rar” – 3.25 KBVersion 1.1, 2016-02-18 17:09


Sleep.exe (2016.02.18)

Giving the system a specified number of microseconds (sleep /? – Help). Designed for use in cycles cmd-files (to Windows does not slow during this cycle).

Download “CMD_Sleep.rar” – 2.71 KBVersion 1.1, 2016-02-18 17:12


MonOff.exe (2016.02.27)

Switch off (hibernation) monitor. MonOff /? – Help.

Download “CMD_MonOff.rar” – 2.97 KBVersion 1.1, 2016-02-27 23:18


IsLock.exe (2016.02.18)

Checks are not blocked workstation (Win + L), and returns the check result in ERRORLEVEL. This can be useful when writing a CMD / BAT-file to any action performed (or not implemented) only if the system is locked. Example of use:

ISLOCK
IF ERRORLEVEL 1 GOTO st_lock
ECHO System is access
EXIT
:st_lock
ECHO System is locked
EXIT

Download “CMD_IsLock.rar” – 2.97 KBVersion 1.1, 2016-02-18 17:14


IsIdle.exe (2016.02.18)

ISIDLE program used to determine the level of CPU utilization. Such check can be necessary in automatically carried out BAT/CMD-scripts, for example to not run out some noncritical scripts at strong loading. ISIDLE returns in variable ERRORLEVEL CPU load. Optional key /T:nnnn specifies the duration of metering in milliseconds, by default, the duration of 1000 milliseconds. Example of use:

ISIDLE
IF %ERRORLEVEL% GEQ 80 GOTO cpu_busy
ECHO CPU is free >c:\ISIDLE_test.txt
:cpu_busy
EXIT

Download “CMD_IsIdle.rar” – 3.75 KBVersion 1.1, 2016-02-18 17:37