Jump to content

Save a File with a filename that contains a variable?!


This topic is 6698 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Define a variable $filename as the complete pathname of the file, for example,

Set Variable[$filename;Value;"filewin:/C:/Path/BackUp_" & $TodayName" & ".fp7"]

and then use Save a Copy as

Save a Copy as["$filename";copy]

Here fill in the location between filewin:/ and BackUp_. In the Save a Copy as, when you specify the Output File simply type $filename into the Output File Path List.

Link to comment
Share on other sites

You are right about variables being FM8 feature, however, the use of $TodayName in the formula made me think that FM8 was being used despite the FM7 declaration in the profile.

I do not know any way to achieve this in FM7 without external help, either an OS script or a plug-in.

Link to comment
Share on other sites

This topic is 6698 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.