AHK: How To Delete Every Other File in a Folder

STEP 1: Make a new AutoHotkey file. Not sure how to do that? Click here.

STEP 2: Right click your new AutoHotKey Script → Edit Script.

STEP 3: Copy and paste this text into the body.

Var = 8071
Loop, 100
{
FileDelete, C:\Users\Desktop\Sentient Webcam\IMG_%Var%.jpg
       Var+=2
}
return

STEP 4: Go to the folder with all the files in it, and copy the file path so the computer knows where to look. Paste that in place of the red text in the script.

FilePath

Continue reading “AHK: How To Delete Every Other File in a Folder”