JOEL LIPMAN Systems / Automation / AI

Knowledge base / Since 1999

Automation Tutorials & Guides

Practical Automation tutorials, troubleshooting notes and implementation guides from real projects.

Advanced search

28 entries / Automation

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,653 hits
AHK Countdown Tooltip
AutoHotkey

AHK Countdown Tooltip

Someone suggested an app that counts the days I have left serving my notice. I thought I'd go one better and have it calculate to the nearest second. I call this latest app "byeBU" and this is version 0.4 Beta (unofficial app).

Read note 50,683 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,235 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,136 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,651 hits
Alternative method of displaying Unicode in Autohotkey GUI
AutoHotkey

Alternative method of displaying Unicode in Autohotkey GUI

Well yes you could just use the Unicode version of Autohotkey. If you're looking for some up and down arrows which is all I wanted, then you don't have to use Unicode and you can use the Chr() function: msgbox % Chr(24) ; upwards arrow msgbox % Chr(25) ; downwards arrow, unstable

Read note 42,672 hits
Fun with DllCall in AutoHotkey
AutoHotkey

Fun with DllCall in AutoHotkey

Ok so there are more fun things to do out there. If you're the type of AutoHotkey programmer that doesn't like having to use the command prompt to write to an extra text file which your program has to read, then this is for you. DllCall will usually run contained in the program and can be hidden from the end-user. The...

Read note 34,384 hits

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.7m+ Reads / hits

Knowledge base

Search notes

Find matching words in article titles and content.