ASP BuildPath() - FileSystemObject This the tutorial/example asp script how to get BuildPath
ShotDev Focus:
- ASP & BuildPath
Example
asp_filesystemobject_buildpath.asp
<% Option Explicit %> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <% Dim objFSO,objFile,Path Set objFSO = Server.CreateObject("Scripting.FileSystemObject") Path = objFSO.BuildPath(Server.MapPath("MyFiles"),"MyNewFiles") Response.write Path Set objFSO = Nothing %> </body> </html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_filesystemobject_buildpath.asp
Screenshot