Everything I've seen you have to specify a drive letter....
Maybe I'm overlooking something...
Michael J. Gregg wrote in message ...
<SCRIPT language="VBScript">
<!--
Function GetHolderPath
Dim HolderPath, FullPath, Ch, I
For I = 9 To Len(Document.Location)
Ch = Mid(Document.Location, I, 1)
If Ch = "/" Then
FullPath = FullPath & "\"
HolderPath = Fullpath
Else
FullPath = FullPath & Ch
End If
Next
GetHolderPath = HolderPath
End Function
MsgBox "Holder Path :" & GetHolderPath
//-->
</SCRIPT>
Michael J. Gregg wrote:
> How do you get the current directory?
>
> Everything I've seen you have to specify a drive letter....
>
> Maybe I'm overlooking something...
----------------------------------
寺尾おさむ(Osamu Terao)
E-mail: ter...@naa.att.ne.jp
URL: http://www.ilc.or.jp/~terasyu/
-----------------------------------