Aug 30, 2005 #1 sn0rg IS-IT--Management Aug 5, 2005 95 GB I'm trying to get the location of "TMP=" via vbs for the user executing the script. Any ideas?
Aug 30, 2005 1 #2 PHV MIS Nov 8, 2002 53,708 FR A starting point: Set S = CreateObject("WScript.Shell") Set E = S.Environment WScript.Echo E("TMP") Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
A starting point: Set S = CreateObject("WScript.Shell") Set E = S.Environment WScript.Echo E("TMP") Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Aug 30, 2005 Thread starter #3 sn0rg IS-IT--Management Aug 5, 2005 95 GB Thanks! Exactly what I'm after - now, (bear in mind its early in the morning here....) how do I convert that to a real path? Upvote 0 Downvote
Thanks! Exactly what I'm after - now, (bear in mind its early in the morning here....) how do I convert that to a real path?
Aug 30, 2005 #4 PHV MIS Nov 8, 2002 53,708 FR Set E = S.Environment("PROCESS") Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
Set E = S.Environment("PROCESS") Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Aug 30, 2005 Thread starter #5 sn0rg IS-IT--Management Aug 5, 2005 95 GB Cheers PHV - got exaclty what I'm after now. Upvote 0 Downvote