Select Area:
| Total Projects Found: 7
  |  |
|
Answer Files |
| |
This is an example of how to automate input for a DOS prompt in a script using an answer file. This example formats the hard drive, without any input from the user.
|
| Author:
Dx21
|
Version
6.22 / 7.x |
 |
 |
|
|
Format Various Floppy Disks |
| |
An older MS-DOS script that was used to easily format floppy disks of various sizes and capacities. Makes heavy use of labels and comparison. |
| Author:
Dx21
|
Version
3.3 |
 |
 |
|
|
Map / Disconnect / Command Line Variable Example |
| |
This example was used to map to and then disconnect from, the NETLOGON share of a local server when KIX scrips were run outside of the logon process. The batch file show examples of Command-Line input, decisions based on input, and syntax for quick function-batch files.
|
| Author:
Dx21
|
Version
6.22 / 7.x |
 |
 |
|
|
Multiple Boots - Multiple Startup Files - One Disk |
| |
There are times when it is necessary to utilize a DOS/Real-mode boot disk - and have that boot disk control actions through multiple boots. You can avoid having to do extra coding and file existence checking by making your boot disks switch their own start up files for you. This example provides the basic files for file switching. This example also includes a freeware DOS-reboot utility to assist in the demonstration. Full setup instructions are provided as a readme in the downloaded ZIP. |
| Author:
Dx21
|
Version
6.22 / 7.x |
 |
 |
|
|
RAM Drive - Assign Drive Letter When Using |
| |
If you require a ramdrive to have a known and dependable drive letter so you can script reads/writes to a static drive letter, you can manipulate other environmental controls to force the ramdrive to be created using a certain drive letter. The solution is to manipulate the dblspace driver. Dblspace allows you to configure it's internal workings and drive reservations via an INI file in the root. The download contains the ramdrive.sys, dblspace.sys, dblspace.bin, dblspace.ini, and a config.sys showing the lines required in your config.sys to initialize dblspace, then create a ramdrive. The dblspace.ini contains only one line. The drive letter assigned to that one line will be the last one dblspace reserves. Create a bootable disk, and copy all files onto the system disk. Your ramdrive will be created using the next drive letter after the one you assigned to dblspace. Using the dblspace and ramdrive uses very little conventional memory.
Microsoft has a KB Article with additional Information.
|
| Author:
Dx21
|
Version
6.22 / 7.x |
 |
 |
|
|
Redirecting Output for use as Input |
| |
Example of how to direct information from the command prompt into a script variable. Two examples included. First shows how to detect the workstation's current user's name, direct that into a variable, then use that variable for both output and file name. The second shows how to discover the drive letter and volume label of the current drive, and make decisions based on the the find. |
| Author:
Dx21
|
Version
6.22 / 7.x |
 |
 |
|
|
Startup Menus |
| |
This is an example of how to create a DOS startup menu in the CONFIG.SYS and the AUTOEXEC.BAT to allow for different startup configurations and options, in one file.
|
| Author:
Dx21
|
Version
6.22 / 7.x |
 |
 |
|
|
|
This resouce is only available to account holders with an added subscription. Click here to learn more about accounts and subscribing to our site!
|