Skip to main content
1-Visitor
February 14, 2020

Is it possible to save versioned files to a relative directory?

  • February 14, 2020
  • 2 replies
  • 494014 views

Hello,

Is there a config setting that controls where versioned file backups are saved using a relative file path?

 

Ideally, when I hit ctrl-S, a new file without a version number would be saved in the working directory, and the versioned file would be saved to ./archive. I'm always purging the versioned files to keep my working directory cleaned up, but then if I need them, they're already gone. If I could automatically keep them in an archive folder, that would help my workflow.

2 replies

17-Peridot
February 14, 2020

I think Creo fundamentally saves files with version extensions regardless.

 

You might consider a mapkey to perform a backup of the current file to a archive location then purge the working directory.

 

Alternatively, you would write a batch file that a mapkey could also run to perform the necessary operations I think without much trouble.

 

Dave

1-Visitor
February 14, 2020

Thanks Dave, I was hoping for a config option, but a mapkey and/or batch file should do the job. Is there an environment variable that CREO recognizes for working directory? I did some digging, but couldn't find one. I expected $WORKINGDIRECTORY or something along those lines.

17-Peridot
February 14, 2020

I am not aware of a config.pro option for either of those.  I think it has been that way for some time

 

You can set the working directory on startup of the application.  But that is typically done in the shortcut you create to the actual creo startup.  My example is like this:

image

 

Alternatively, you can create a custom batch file for the startup of Creo (most do), and set your working directory as the start location also.   You could set an env variable in that if you needed it for something else... but typically those are only local to the batch file's execution as I recall.

 

I would be curious to see if anyone as any other suggestions on this issue.  I am sure it is not uncommon.

 

Dave

16-Pearl
February 17, 2020

All,

 

This is not the correct forum sub-group for this topic. This forum is for CAE/Simulation topics, not file management or Windchill.

 

Thank you

23-Emerald III
March 2, 2020

It has been moved to Creo Tips.