Category: MS DOS » Tips »

No boot device found or available

Computer cannot start if no proper boot device exists, or if the active boot device fails.

Environment variables

Description of environment variables and how to configure them.

Pro and cons for using multiple disk partitions

Describes the benefits and the costs of using multiple partitions.

Create your own file finder utility

How to use the FOR keyword in a batch file to search all available partitions for a file mask.

Using FOR to perform an operation on a file collection

How to use the FOR keyword to perform an operation on a collection of files that matches a wildcard.

Using Choice to get user interaction

How to use the Choice program to present a set of options the user can choose from.

Using Errorlevel to handle program return code

How to check the ERRORLEVEL variable to get the return code of a program.

Using batch file input parameters

How batch files gets input parameters and how to access these parameters in the batch file.

Create your own sleep / wait program

How to create your own sleep / wait command, which be used in other batch files.

Use multiple DOS startup configurations

How to configure the config.sys and autoexec.bat to use multiple startup configurations.

Easy compressing and extracting using batch files

How to wrap a batch file around the pkzip and pkunzip command line utiltities.

Enhanced DIR that only lists executables

How to create a batch file that works like a dir command but only lists executables.

Scandisk command line switches

List of the available command line switches for scandisk.

MEM with enhanced listing of conventional memory

Description of the special switch for MEM to diagnose conventional memory usage, and how to put it in a batch file.

Executing program without specifying path

Description of the PATH environment variable, and how to configure it.

Changing the list style of the dir command

How to change the listing of files and folders when using the dir command with an environment variable.

Changing the temporary directory

Description of the temporary directory, and how to change the location using environment variables.

Change the style of the DOS prompt (C:\)

Description of the options available for styling the DOS prompt.

Detect if a batch file is executed within Windows

How to use environment variables to detect that a batch file is executed within Windows.

Writing a batch file

How to write a batch file with description of different commands available.

Turn off Himem.sys memory testing

How to configure Himem.sys so it will not perform memory testing.

Create FAT32 partitions with size below 512 MByte

How to get fdisk to create small FAT32 partitions with special parameter.

Check if a file or folder exists

How to check if a filename or directory exists

Using TYPE to create and edit text files

How to use the TYPE command to perform file manipulation on text files.

Using the command prompt as text editor

How to use the copy command to copy from the keyboard and into a text file.

Enlarge the output console screen

How to change the number of visible lines in a command prompt.

Using FDISK to remove a boot-sector virus

How to rewrite the master boot record with fdisk to disable a boot-sector virus.

Using ECHO for outputting

Description of the ECHO command and the possible ways to make output.

Make disk copy with only one floppy drive

How to use the diskcopy command to copy floppy disks using only one floppy drive.

Bypass or step through Config.sys and Autoexec.bat

How to bypass or single step through the startup files Config.sys and Autoexec.bat using the keyboard keys F5 and F8.

Configure the memory allocated for environment variables

How to increase the memory available for environment variables at the expense of conventional memory.