Re: Path info for VBscript from HTM page

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Alexander Popkov (noreply_at_abysslabs.com)
Date: 04/25/04


Date: Sun, 25 Apr 2004 23:58:13 +0400


> So, if my_file.html (with a script in it) how do I retrieve its absolute
or
> relative path, when it can sit on my PC or the Website with my provider

Request.ServerVariables( "PATH_TRANSLATED" )

--
    WBR, Alexander Popkov
    http://www.abysslabs.com


Relevant Pages

  • Re: Tcl source command directory
    ... In each called script, put: ... set basedir [file dirname $scriptPath] ... The above code produces a relative path not an absolute one. ...
    (comp.lang.tcl)
  • Re: Memory output format
    ... And you need to set strDescription to a blank ... All values must be retrieved in the "Do Until" loop, ... I am using your script in the middle of a script pulling wmi info from ... The error is raised when the program attempts to retrieve the value of the ...
    (microsoft.public.scripting.wsh)
  • Re: Memory output format
    ... And you need to set strDescription to a blank ... All values must be retrieved in the "Do Until" loop, ... I am using your script in the middle of a script pulling wmi info from ... The error is raised when the program attempts to retrieve the value of the ...
    (microsoft.public.scripting.wsh)
  • Re: Force password Expiration to 5 days
    ... Then when the day arrives you can run a script or program that either: ... Expires everyones password, ... I have a VBScript program that converts ... A filter to retrieve all users that have not change their password since ...
    (microsoft.public.windows.server.scripting)
  • Re: Memory output format
    ... The error is raised when the program attempts to retrieve the value of the ... sAMAccountName attribute, but that attribute is not listed in the query as ... I'm having another issue with my script. ... FormatNumber strTotalPhysicalMemory ...
    (microsoft.public.scripting.wsh)