Speeding Up MS‑DOS Workflows with DOSKEY Aliases
Learn how to create, persist, and use DOSKEY aliases in MS‑DOS, including correct syntax, macro arguments, batch‑file considerations, and a practical AUTOEXEC.BAT example.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to create, persist, and use DOSKEY aliases in MS‑DOS, including correct syntax, macro arguments, batch‑file considerations, and a practical AUTOEXEC.BAT example.
Goal To identify the absolute maximum length of a command‑line string that can be delivered to a COM or EXE program via INT 21h function 4E01h, while accounting for documented PSP limits and possible variations across DOS releases. Constraints The PSP reserves a single byte at offset 0x80 to store the length of the command line, and the string itself is null
Load relocatable MS-DOS drivers and TSRs into Upper Memory Blocks with DEVICEHIGH and LOADHIGH after enabling UMBs to free conventional memory below 640 KB.
Explore the engineering trade-offs of MS-DOS FAT16, specifically how cluster sizing affects disk capacity versus internal fragmentation and slack space.
Avoid silent failures in MS-DOS automation by using COPY /B for binary integrity and explicit ERRORLEVEL checks to ensure your backups actually completed.
Learn how to resolve 'Insufficient memory' errors in MS-DOS by managing the 640KB conventional memory limit using HIMEM.SYS, EMM386.EXE, and UMB relocation.
Describes how the INT 21h API provided a stable interface for file and process services, enabling applications to run unchanged across IBM PC‑compatible hardware.
When running DOS games or legacy applications that require at least 50 KB of conventional memory, the decision between using DEVICEHIGH in CONFIG.SYS and LOADHIGH in AUTOEXEC.BAT becomes critical. Both directives aim to relocate code into Upper Memory Blocks (UMBs) when HIMEM.SYS and an UMB provider such as EMM386.EXE are present, but they differ in ordering
The BACKUP and RESTORE utilities in MS-DOS 6.22 are used to archive file data and directory structures into sequential .BAK files. While these tools maintain standard file metadata, behavior varies when restoring archives to disks with different FAT sizes (such as transitioning from 16-bit to 32-bit FAT). There is uncertainty regarding how the RESTORE comman