saving workfile under name with today's date (@strnow)
Posted: Fri Oct 16, 2015 6:48 am
I tried to put a command that saves the actual workfile under a name containing today's date, e.g. wf_2015-10-16 and tried it with the @strnow and a string variable. But it returns an error message.
Command:
Error message is:
Unable to open file \\user.me\wf_"2015-10-16".wf1 in "WFSAVE(2) WF_"2015-10-16"".
What would be the solution or is there another way to save the file under that name?
Many thanks in advance.
Command:
Code: Select all
%date=@strnow("yyyy-mm-dd")
wfsave(2) wf_%dateUnable to open file \\user.me\wf_"2015-10-16".wf1 in "WFSAVE(2) WF_"2015-10-16"".
What would be the solution or is there another way to save the file under that name?
Many thanks in advance.