Dos - Startup Script

Card Puncher Data Processing

About

When Cmd starts, if /D is NOT specified on the command line, then it looks for the following REG_SZ/REG_EXPAND_SZ registry variables, and if either or both are present, they are executed first.

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun

and/or

HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun

Example

In the below autorun variable, I will change the current directory to D:\myBat

Cmd Dos Startup Run





Discover More
Card Puncher Data Processing
DOS - Configuration

path environment variable to find the scripts
Card Puncher Data Processing
Dos - Getting Started

command history (F7, F8, ...)



Share this page:
Follow us:
Task Runner