function ShowAbsolutePath(path) { var fso, s= ""; fso = new ActiveXObject("Scripting.FileSystemObject"); s += fso.GetAbsolutePathName(path); set fso=Nothing return(s); } MsgBox (ShowAbsolutePath("."), 65, "Current Directory")
Dim fso, s set fso = CreateObject("Scripting.FileSystemObject") s = fso.GetAbsolutePathName(".") set fso=Nothing MsgBox s
{
var fso, s= "";
fso = new ActiveXObject("Scripting.FileSystemObject");
s += fso.GetAbsolutePathName(path);
set fso=Nothing
return(s);
}
MsgBox (ShowAbsolutePath("."), 65, "Current Directory")
set fso = CreateObject("Scripting.FileSystemObject")
s = fso.GetAbsolutePathName(".")
set fso=Nothing
MsgBox s