I started looking into scripting today and played around with it a little. I believe there's still a lot to learn
The (1st world-)problem I'd like to solve is actually pretty simple:
1. Select a bunch of files, or just one
2. Push a button
3. Move the files (skip directories!) into
$destroot, which is something like
c:\dest\<date yyyy>\<date mm>
4. Rename the files at the same time, prefixing "
With my very basic skills I managed to step 3 for one file:
Code: Select all
$destroot = "\\somewhere\<date yyyy>\<date mm>";
copyto "$destroot", "$src",,3;
I tried to attach this to a button by removing
$src, but that didn't really work. It replicated the whole source path in the destination. As well, renaming the file didn't work.
I am pretty sure this is possible. Any hint appreciated!