Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Can I export to a file where the name is automaticly formed in a format with date/time as in MM-DD-YY-HH-MM and if so, how can I do this?

John

Posted

I have been trying for some time to do this with the Send Message script step but did not succeed. So the obvious question is, how do I make that work or where can I find the info that tells me that?

John

Posted

Since I use a Mac, I'm not the best one to answer this question. My guess is that you may need to create a batch file on the fly with a Rename command in it like so:

Rename c:myfolderDefault.txt c:myFolder2003-12-01-01-23.txt

You would create the batch file by exporting a single record with a single field containing the data. the Field would be calculated like this:

cBatchFileData = "Rename c:myfolderDefault.txt c:myFolder" & DateToText(Status(CurrentDate)) & "-" & Substitute(TimeToText(Status(CurrentTime)),":","-") & ".txt"

Then you use the send message step to execute the batch file.

This topic is 7665 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.