Can anyone help me with my script please? See attached.
I am trying to move (or archive) older drawing revisions from one folder to another. The first revision of a drawing would be P01 then the next revision would be P02, P03, etc…
So if my drawing revision was at P03 I want to move the P02 & P01 versions of that drawing to another folder.
Our typical drawing file name consist of the following:
My script brakes down the drawing file name to keep the last 2 items which are the drawing Number and Revision as shown below:
Now I am stuck and I don’t know how to get my script to filter out the older drawing revisions and move those files to another folder.
Can anyone help me with this and advise if there is an easier way to do this please?
Archive Files.dyn (32.2 KB)