JOEL LIPMAN Systems / Automation / AI

Knowledge base / Since 1999

MS-DOS Tutorials & Guides

Practical MS-DOS tutorials, troubleshooting notes and implementation guides from real projects.

Advanced search

4 entries / MS-DOS

Clear filters
Batch Process to rename multiple files using Windows DOS
MS-DOS

Batch Process to rename multiple files using Windows DOS

A quick article on how to rename multiple files using the command prompt and a bit of string manipulation. This example will rename files which contain the string " (Copy)" and replace it with nothing (so removes it). The challenge here is the space character and delimiting by a string. The Gist -- What I have Image000...

Read note 59,659 hits
MS-DOS: Copy folders without overwriting files
MS-DOS

MS-DOS: Copy folders without overwriting files

A quick note on how to copy files and folders over without overwriting existing files. It's easy to say "Yes" and replace all files. What I need is something that synchronizes files on an internal hard drive to an external one. I wanted it to copy only the files that were new in the original folder and only copy those...

Read note 84,247 hits
A for loop within a for loop in MS-DOS
MS-DOS

A for loop within a for loop in MS-DOS

A quick note for myself as I'd forgotten how to do this (we're talking technology belonging to the 90s - MS-DOS v6.22). The example wants to loop through a directory and then loop through the line it finds.

Read note 23,140 hits
Prefix Line Numbers in a Text File
MS-DOS

Prefix Line Numbers in a Text File

Change contents of "original_file.txt" The first line of my code The second line of my code The third line of my code To "results_file.txt" 1: The first line of my code 2: The second line of my code 3: The third line of my code How?

Read note 49,657 hits
No more notes to load.

Working principle

Our Purpose

This site exists as a practical knowledge base built from real-world experience across systems, platforms, and technologies since 1999. Much of the content documents solutions, edge cases, and working patterns that were learned through investigation where documentation was incomplete or absent, and is shared to reduce the same friction for others.

27 Years in IT
1021 CRM clients
810 Site articles
29.8m+ Reads / hits

Knowledge base

Search notes

Find matching words in article titles and content.