I currently use Opera Portable as a web browser, but don't care for the ever expanding caches. I would love to have a button that would move files from the various cache folders, or others that are really unneeded, and move them into a timestamped directory on another drive, in case I do actually need them.
I edited a code that I found elsewhere and came up with:
Rename PATTERN * TO "C:\Downloads\{date|yyyy.MM.dd} - {time|HH.mm.ss}\*" FILEINFO
It does what I want, only I am looking to take it one step further. I would like a button that would do the same thing, only without the directories being actually selected. Something when pushed would automatically move a bunch of folders from different directories to a single timestamped folder in another location.
You'll want to lock in the date-time at the start so that each command doesn't use a different destination folder (if the previous command took more than a second). You can do it like this:
Thanks that worked great. Also, thanks for all the other help that you and everyone else have given me. You guys really know the ins and outs of this program. I have got the program so personalized, it's almost painful when I HAVE to use Windows Explorer.
That's definitely a good coding style - but is it really necessary? Aren't these variables evaluated once at the beginning and then kept throughout the execution?