we work with files that get an automatic addition to it to indicate the version. so you will get FILENAME#I=A and FILENAME#I=B etc. when you get several versions the folder can get a bit crowded so now we ask all the users to put the older versions to hidden as property.
there is also a .png thumbnail generated together with the actual files that are used.
in general a work folder looks like this:
Project folder/sub folders/work folder/(files to modify)
Project folder/sub folders/work folder/(various other folders that need no action all have the same name for every work folder)
what i want is this:
a bat file or something like it, that i can run on a picked folder, in that folder it looks for all the work folders and finds the files to modify. it does not go into the listed folder names inside the work folder.
once all files are listed it compares the versions e.g.
FILENAME (seen as older version and hidden)
FILENAME#I=A (seen as older version and hidden)
FILENAME#I=B (no version C is found so this is the newest, no action is done)
then it sets all files with the extention .PNG to hidden
then it deletes all files with the extention .lck that are older then today.
i hope this question is clear enough for an answer, i was not able to get any further then listing all files in a directory but thats it.
thanks for any help that is given.
Laurens is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.