Saving Files in a specific Path
Altair Forum User
Altair Employee
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
0
Answers
-
Hi
open c:/newdir/newfile.txt w
0 -
Tanks Thin, we fixed our problem!
0