
Getting the TEMP Enviro Variable using VBScript
Geo,
With VBScript, you need to use WSH.
Look at GetTempName method of the Scripting.FileSystemObject object
or alternatively GetSpecialFolder method of the Scripting.FileSystemObject
Followed by Scripting.FileSystemObject.GetFolder()
Hope this helps
Jay
Quote:
> I am creating an Outlook form (2000) and need to write a temp file out.
> I would like to do all the work in the users TEMP directory. Normally in
> VB, I would use the Environ("TEMP") command but this is not in VBScript.
> (That I know of...looked thru the help etc...)
> Any ideas?
> As always, thanks in advance for any and all help.
> Geo...