Thank you. It sounds possible but I just do not have much experience
with scripting and programming. I will see what I can do




--- In [email protected], "Sheri" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "dedebaykus" <dedebaykus@> wrote:
> >
> > Hi
> > 
> > I want to be able to select some files and copy them to date
> > named folders automatically. For example I would select bunch of
> > files, run the command and it would copy-move all the files to a
> > folder with todays date(date format should be adjustable).
> > Actually the way I would like is copying files to new folders
> > based on files`s creation dates. So powerpro would read file
> > dates and create folders accordingly(naming from file dats) then
> > move all the files to corresponding folders.
> 
> You could do that with an entry your Context command list. The entry
> would send _file_ to a script/function.
> 
> The script would form a folder name from the existing path joined to
> the file's creation date  Then it would test to see if the folder
> already exists and if not create it. Then copy the file into the
> proper folder. To start the script, you would select one or more files
> in Windows explorer and click the entry you made in the Context
> command list. The script function would then run for each of the
> selected files.
> 
> The relevant script functions are:
> file.folder
> file.getdate
> select
> join or ++
> exec.newfolder
> file.move
> 
> > 
> > Or I could select some files and run the command. Command would
> > bring a calendar and I would choose a custom date from the
> > calendar as well.
> 
> You can select a date with inputdate 
>  
> > Are these possible?
> 
> Definitely. Give it a try.
>


Reply via email to