dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

Tip: Get the Path to the Temporary Folder in the Operating System

See how to use the GetTempPath method to retrieve the temp file path.


advertisement

Use the GetTempPath method to retrieve the temp file path in a machine.

Please note that it also varies from one operating system to other.

string tempFilePath = System.IO.Path.GetTempPath();

 

Visit the DevX Tip Bank

 



   
Srinath M. S. says: "I would love to leave a footprint in this flat world."
Thanks for your registration, follow us on our social networks to keep up-to-date