SHORTIES\SHORTIES.DOC  ·  DOC  ·  7 KB  ·  1991-07-01  ·  from PCPlus_Issue-58_Jul-1991
╔═════════════╗
║  CLOCK.EXE  ║ DIGITAL CLOCK
║  D Bratton  ║
╚═════════════╝

 CLOCK provides a full-screen display of the time, in digital form.
 This display is updated as the seconds tick by, waiting for you to
 press any ke2y.

 You can also supply any word or phrase (as a parameter on the command
 line) to be centred and displayed near the bottom of the screen: it could
 be a personalised message, or simply "Hit any key to proceed".


╔═════════════╗
║ NEWNAME.COM ║	 RENAME UTILITY
║   L Ployt   ║
╚═════════════╝

 NEWNAME allows you to rename related files individually - or to rename
 a particular file (from a BAT) by hand, where the MS-DOS command REN
 would not do this.

  syntax:    NEWNAME  [/Q]  [d:][path]FILESPEC

    where /Q is QUIET mode (no displays - special for BAT files)
    FILESPEC specifies file(s) to be renamed

  ERRORLEVEL 1 - File not found
	     2 - Path not found
	     3 - Access denied
	     4 - Unknown error
	   255 - Wildcards not allowed in QUIET mode


 If you are in QUIET mode, there is no display - you should put your
 own displays with ECHO statements; the cursor will stop in the current
 position, waiting for the operator to key something that would be
 acceptable as a filename.  This will then be the new name of the file
 specified on the parameter line.

 [ENTER] with no new name leaves old name intact.

 If you are not in QUIET mode, the name you specify in the parameter
 line may contain wildcards [*] and [?]; each file's OLD name is
 displayed, and the operator is given the opportunity to key a NEW
 name.	Again, [ENTER] with no new name leaves the old name intact.

 Keying NEWNAME [ENTER] or NEWNAME /H [ENTER] will display a syntax
 message.


╔═════════════╗
║ PASSWORD.SYS║	 PASSWORD PROTECTION
║  SETPW.EXE  ║
║  M Williams ║
╚═════════════╝

 PASSWORD.SYS is a simple, low-level security program which
 prevents anyone easily accessing your PC. On booting your
 system, it asks for a password; as it is loaded BEFORE
 COMMAND.COM, CTRL-Break cannot be used.
 Before you install PASSWORD, make sure you have a bootable
 system disk handy. If something goes wrong, you could be locked
 out of your system !

 Installation is simple; copy PASSWORD.SYS onto your disk, and
 make the first line of CONFIG.SYS

 DEVICE=\PASSWORD.SYS

 If PASSWORD.SYS is in a subdirectory, like \DOS, then make it

 DEVICE=\DOS\PASSWORD.SYS

 On booting your system, PASSWORD will display the prompt

 Please enter password ...

 and wait for the password to be entered. The characters you type
 will NOT be displayed on the screen. If you make a mistake entering
 one character, then you must start again.

 The default password is 1234; this is intentionally obvious,
 so you can use the program SETPW to set a new password.
 The command format for SETPW is :-

 SETPW abcd

 where a, b, c, and d are four characters which make up the password.

 NOTE:

 a) PASSWORD is case sensitive. If your password is abcd, ABCD will not
    be accepted.
 b) PASSWORD does not use any RAM after running.
 c) Remember, anyone can 'get around' PASSWORD by simply booting your
 8  system from their own system disk. Don't complain, though; you may
    have cause to appreciate it, one day !


╔═════════════╗
║  SOUND.COM  ║ SOUND EFFECTS GENERATOR
║  R L Wright ║
╚═════════════╝

 Syntax:1. SOUND - to enter program

	2. SOUND <ScreenMode> - to enter program in screen mode 0-7
	   (eg. SOUND 3 - enter program in 80 column text mode)

	3. SOUND <Start Stop Slide Pause> - play sound
	   (e.g. SOUND 10 1000 10 5000)

	4. SOUND <FileName> - play a tune
	   (e.g. SOUND MUSIC.SND - play all the notes in 'MUSIC.SND')

	5. SOUND <FileName> /R - play a tune continuously until a key
				 is pressed (Returned in ERRORLEVEL)
	   (e.g. SOUND MUSIC.SND /R - play all notes in 'MUSIC.SND'
				      until a key is pressed)

 SOUND.COM is a utility for creating sound effects and tunes which can
 be included in batch files or other programs.

 The sound effect program works by rapidly playing a range of notes
 between two values (the START and STOP values). The SLIDE value is
 the amount that the program should keep adding/subtracting to START
 until it reaches the STOP value.

 e.g. START=100
      STOP=150
      If the SLIDE value was 10 then the notes 100,110,120,130,140
      and 150 would be played. A value of 2 would mean that the notes
      100,102,104 ..... up to 150 would be played.

 Note that the start value can be larger than the stop value, in this case
 the slide value is subtacted from the start value after each note.

 e.g.
 SOUND 10 1000 10 20000 and SOUND 1000 10 10 20000
 (These play the same range of notes, up/down).

 The PAUSE value is the amount of time to pause between playing each
 note in the range - a large value produces a longer note (usually a
 lower frequency note whereas a smaller value usually produces a shorter
 higher pitched sound).

 To enter numbers in the SOUND program, use the cursor keys to move the
 arrow left or right and then the up/down arrow keys to increase or
 decrease the number under the pointer (or you can press a number key
 which will enter that number at the pointer position).

 To hear the sound, press the ENTER key and to exit the program press
 the ESC key.

 To include a sound effect in a batch file, just enter SOUND followed by
 the four sound values.

 To play a tune, simply put all the notes into a text file and enter
 SOUND <FileName>

 You can also put pauses between any of the notes by putting a number in
 the file prefixed by 'p'.

 e.g.

 10  1000  10  10000
 p500
 1000  10  1000	 10000
 p1000
 20  2000  20  2000

 To make the tune repeat continuously until a key is pressed simply enter
 SOUND <FileName> /r

 The ASCII code of the key pressed will be returned in ERRORLEVEL which
 can then be checked in batch files using IF ERRORLEVEL=<Number> ....

 Note - for special keys (e.g. function keys) the value returned will
 be 128 + the auxiliary code. (e.g. F1 would return 187)

 REGISTRATION

 If you enjoy using the SOUND program, your support would be greatly
 appreciated. If you would like to become a fully registered user
 simply send a cheque or P.O. for 2.99 to Richard.L.Wright, Winsland
 Mews Hse, Branstone Rd, Richmond, TW9 3LB.
 (All registrations will be acknowledged)

 Registration entitles you to use the SOUND utility in your own programs
 which can be sold/distributed.

 If you would like to register for 'SOUND' and all of my Shareware
 games Rimtrix, Galactix, Galactix II and X-Ball (and any future
 Shareware games that I write) please send a cheque/P.O for 5.99

 Note - If you are a registered user of Galactix/Rimtrix then you are
 automatically registered for 'SOUND' and my future game 'X-Ball'.

 Please note this software is supplied 'as is' and no responsibility can
 be accepted by the author for the result of any failure of this software
 to work as expected.