Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Locating the users %TEMP% variable

Status
Not open for further replies.

lincschris

IS-IT--Management
Jun 17, 2004
9
GB
I want to be able to find out what a users temp directory is so that I can populate batch and parameter files there and then run the batch file to start another application.

I am happy with sending output to these files and running the batch file, but I can't work out how to populate a variable with the users TEMP directory - it is the one that is returned when you run "set temp" on a command line.
 
And what about Environ("TEMP") ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top