FM Analysis > PIRA75/P175/P275 Control Software

FMS - Dynamic directory

(1/1)

m1k6:
Hello,
I would like to store data in a directory for each day, like D:\2021-12-06.
I couldn't find an info on how to check if an directory exists, can you help me?

Thanks in advance.

Jan:
Use this line:


--- Code: ---execute(cmd,/c md D:\%date)
--- End code ---

No need to check if the directory exists, that does the md command itself.

Navigation

[0] Message Index

Reply

Go to full version