If I use
path = fso.getabsolutepathname(".")
in a vbscript in a HTA-file it just gives me the path of the directory from
which the script has been started. That is what I was looking for. But...
The same command in the same file, but with a HTM extention, gives me the
path to the desktop or in a network of my root home directory.
Because I'm looking for the same result that the HTA gives me but then in a
HTM-file, I'm wondering if it possible to get the pathname of the directory
the script was started from. The reason is that I need the HTM in an active
desktop application or as a home-page in an Outlook folderlist-folder.
Any help?
Thanks in advance,
Hans Stavleu
//------------------------------------
Regards,
Vassiliev V. V.
http://www-sharp.com -
Scripting/HTA/.Net Framework IDE
"Hans Stavleu" <NOTTHIS...@planet.nl> сообщил/сообщила в новостях
следующее: news:c17n9q$qau$1...@reader08.wxs.nl...
"Viatcheslav V. Vassiliev" <msnew...@www-sharp.com> wrote in message
news:#AjAeFI#DHA....@TK2MSFTNGP09.phx.gbl...