garethMann
Programmer
How do i get the directory of the webpage in VBscript?
I tried:
Set WshShell = CreateObject("WScript.Shell")
sDir = WshShell.CurrentDirectory
But for some strange reason this returns "C:\WINDOWS\system32"
But my asp page is in "my documents" So why can't i get this?
I tried:
Set WshShell = CreateObject("WScript.Shell")
sDir = WshShell.CurrentDirectory
But for some strange reason this returns "C:\WINDOWS\system32"
But my asp page is in "my documents" So why can't i get this?