Does conquest Server have some kind of api so that i could write a script that deletes all dicom image series older than a certain date?
If so, is there some documentation on how to do so?
Does conquest Server have some kind of api so that i could write a script that deletes all dicom image series older than a certain date?
If so, is there some documentation on how to do so?
Hi,
if you install zerobrane studio to control the lua api, there is a deletebydate.lua sample script. Section 7.8 in the manual gives a brief introduction how to do this. And overview.lua show how all functions are used.
Marcel
Hi Marcel,
Thank you for the suggestions! I will try it out and post my script if i get it to work.
Andreas
Hi,
I found a very useful batch file in http://www.robvanderwoude.com/files/yesterday_nt.txt
and changed It a bit to generate an argument that is used by {dgate.exe} running on {c:\CONQUEST}
You may copy the source from here, and save it in DelOldDCMfiles.bat then run it from task scheduler
Be careful
FOR /F "tokens=1-3" %%A IN ('REG Query "HKCU\Control Panel\International" ^| FINDSTR /R /C:"[is]Date"') DO (
Ludwig
Don’t have an account yet? Register yourself now and be a part of our community!