Temporary files

Discussions related to database technologies, file handling, directories and storage
Post Reply
Patrick M
Posts: 71
Joined: Mon 02 Apr 2018, 21:51

Temporary files

Post by Patrick M » Sun 22 Apr 2018, 19:35

Hello,

If you have a program that needs to write data to temporary files, does BB4W/BBCSDL have a feature that lets you know the path to the temporary files folder? As far as I know, In linux it's usually /tmp/, but I don't know where windows would keep its temp folder.

Patrick

Edit: Thanks Richard for the answer, @tmp$ was precisely what I needed.
Last edited by Patrick M on Mon 07 May 2018, 20:42, edited 1 time in total.
P.M.

guest
Posts: 107
Joined: Mon 02 Apr 2018, 09:12

Re: Temporary files

Post by guest » Sun 22 Apr 2018, 21:09

Patrick M wrote:
Sun 22 Apr 2018, 19:35
If you have a program that needs to write data to temporary files, does BB4W/BBCSDL have a feature that lets you know the path to the temporary files folder?
@tmp$ is probably what you want, but it's typically a 'per user' temporary folder rather than shared system-wide. It's implemented (along with @cmd$, @dir$, @lib$ and @usr$) in all editions of BB4W and BBCSDL. You'll find it documented here.

Richard.

Post Reply