Jump to content
Sign in to follow this  

Saving Files in a specific Path

Recommended Posts

Hey guys,


my .tcl-script creates different filetypes and saves all of them into the document folder. In order to not create a mess of files, I want them to be saved in a specific folder.

I copied the path of my folder and read it by opening a script, which saves the path into a variable.


At the moment, I'm using the following command to create a new file:

set f [open path.txt w]

How can I save the file into a specific path?


Kind regards,


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...