Help me write a script to group files in windows.
July 30, 2010 7:17 AM Subscribe
Help me write a script to group some selected files in windows.
I would like to have a script that, when I press a keyboard shortcut, it moves some selected files in windows explorer to a new folder in the same path. I'm using windows 7 (bonus points if it can work on XP too).
I've tried with Autohotkey ("Send !^n", then "Send ^x" and "Send ^v") but it doesn't always work, i.e. sometimes it copies the files before the new folder is created. I could set it to wait, say, 1secs before copying but that wouldn't be very efficient. Clearly, the script has to be faster than typing the keystrokes myself.
I know there are other tools (Windows Script Host and Powershell), but before learning them I would like to figure out if they can do what I need.
posted by volpe to computers & internet (6 answers total) 2 users marked this as a favorite
posted by kindall at 7:50 AM on July 30, 2010