Hi all,
I have been working with the interface for about a week, but I still
dont understand some of the functions. Im trying to copy file(s) by ext
and the DateLastModifed - I can see the "search files" function and I
input the dates I want - it makes the txt file perfectly, but the
"File/Copy/Move" fucntion does not have a date option. How do you tie
the two together? Also I notice many people post request and have
script examples how do they do that.???
Copy By DateLastModified
Copy By DateLastModified
You can make the list of files and, next, copy listed files. See task below.
Save text of task into any file and use menu “Task | Import” to import into RoboTask
;**********************
;* RoboTask Task file *
;* Do not edit! *
;**********************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|850444931
ContinueOnError=INTEGER|0
ExternalName=STRING|"Task270"
Hide=INTEGER|0
ID=INTEGER|705095560
Name=STRING|"Create File List and copy"
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
[Actions]
Action1=FOLDER
Action2=FOLDER
Action3=FOLDER
Action4=FOLDER
[Actions\Action1]
ActionID=STRING|"A_FILE_SEARCH"
Enabled=INTEGER|-1
Name=STRING|"Create File List (c:\tempfiles.txt)"
Params=FOLDER
[Actions\Action1\Params]
After=STRING|"0"
aftercount=STRING|"0"
AfterLine=STRING|"0"
Before=STRING|"0"
beforecount=STRING|"0"
BeforeLine=STRING|"0"
createmode=STRING|"5"
createormodified=STRING|"1"
date1=STRING|"20050615"
date2=STRING|"20050615"
destfile=STRING|"c:\tempfiles.txt"
DuringDays=STRING|"1"
DuringMonths=STRING|"1"
file0=STRING|"{TempDir}\*.*"
filecount=STRING|"1"
OlderDays=STRING|"5"
OlderMonths=STRING|"1"
subdirs=STRING|"1"
WithoutPath=STRING|"0"
[Actions\Action2]
ActionID=STRING|"A_LOOP_TEXT"
Enabled=INTEGER|-1
Name=STRING|"Text Loop"
Params=FOLDER
[Actions\Action2\Params]
destvar=STRING|"C_FILE"
file=STRING|"C:\tempfiles.txt"
linecount=STRING|"0"
sourcetext=STRING|"0"
[Actions\Action3]
ActionID=STRING|"A_FILE_COPY"
Enabled=INTEGER|-1
Name=STRING|"Copy/Move File"
Params=FOLDER
[Actions\Action3\Params]
destdir=STRING|"C:\Temp"
f_count=STRING|"1"
file0=STRING|"{c_file}"
ifexists=STRING|"0"
move=STRING|"0"
subdir=STRING|"0"
[Actions\Action4]
ActionID=STRING|"A_LOOP_END"
Enabled=INTEGER|-1
Name=STRING|"End Loop"
Save text of task into any file and use menu “Task | Import” to import into RoboTask
;**********************
;* RoboTask Task file *
;* Do not edit! *
;**********************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|850444931
ContinueOnError=INTEGER|0
ExternalName=STRING|"Task270"
Hide=INTEGER|0
ID=INTEGER|705095560
Name=STRING|"Create File List and copy"
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
[Actions]
Action1=FOLDER
Action2=FOLDER
Action3=FOLDER
Action4=FOLDER
[Actions\Action1]
ActionID=STRING|"A_FILE_SEARCH"
Enabled=INTEGER|-1
Name=STRING|"Create File List (c:\tempfiles.txt)"
Params=FOLDER
[Actions\Action1\Params]
After=STRING|"0"
aftercount=STRING|"0"
AfterLine=STRING|"0"
Before=STRING|"0"
beforecount=STRING|"0"
BeforeLine=STRING|"0"
createmode=STRING|"5"
createormodified=STRING|"1"
date1=STRING|"20050615"
date2=STRING|"20050615"
destfile=STRING|"c:\tempfiles.txt"
DuringDays=STRING|"1"
DuringMonths=STRING|"1"
file0=STRING|"{TempDir}\*.*"
filecount=STRING|"1"
OlderDays=STRING|"5"
OlderMonths=STRING|"1"
subdirs=STRING|"1"
WithoutPath=STRING|"0"
[Actions\Action2]
ActionID=STRING|"A_LOOP_TEXT"
Enabled=INTEGER|-1
Name=STRING|"Text Loop"
Params=FOLDER
[Actions\Action2\Params]
destvar=STRING|"C_FILE"
file=STRING|"C:\tempfiles.txt"
linecount=STRING|"0"
sourcetext=STRING|"0"
[Actions\Action3]
ActionID=STRING|"A_FILE_COPY"
Enabled=INTEGER|-1
Name=STRING|"Copy/Move File"
Params=FOLDER
[Actions\Action3\Params]
destdir=STRING|"C:\Temp"
f_count=STRING|"1"
file0=STRING|"{c_file}"
ifexists=STRING|"0"
move=STRING|"0"
subdir=STRING|"0"
[Actions\Action4]
ActionID=STRING|"A_LOOP_END"
Enabled=INTEGER|-1
Name=STRING|"End Loop"