is there any examples, where i can see how to check my folder, i mean: if i create a qvd-file then this qvd-file will be stored in the folder. i want to check whether my folder is empty or not. if my folder is empty, so the qvd-file should be stored, if my folder is not empty, then should be not.
Does anybody have any idea how to handle this issue?
In my script I check the variable for a 0 (meaning the QVD does exist) and then do whatever logic I want to do based on it already existing. Or I could do the opposite and check for a -1(does not exist)
We create QVDs that are year specific and have the year in the name. So when we rolled into the new year I needed to do something different on the first day since it didn't exist. After that I go back to my normal routine.