🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Saving Files in a specific Path

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

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,

Simon

Find more posts tagged with

Sort by:
1 - 2 of 21