Home All Groups Group Topic Archive Search About

How can I reference the directory that is used for temp files?

Author
28 Nov 2006 1:07 AM
Franky
I create and assembly and then start a process with it.

I'd like to create it someplace where it would be deleted when the Disk
Cleanup is run.

How can I reference the directory that is used for temp files.



thanks

Author
28 Nov 2006 1:48 AM
Herfried K. Wagner [MVP]
" Franky" <frankyNOSPAM@a-znet.com> schrieb:
> How can I reference the directory that is used for temp files.

'System.IO.Path.GetTempPath'.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
29 Nov 2006 4:19 PM
Franky
Thanks, works great

Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:OAZ488oEHHA.2312@TK2MSFTNGP02.phx.gbl...
>" Franky" <frankyNOSPAM@a-znet.com> schrieb:
>> How can I reference the directory that is used for temp files.
>
> 'System.IO.Path.GetTempPath'.
>
> --
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>