對於 Web 路徑的處理功能


webPath = /jang/books/asp/example/fileAccess/pathFunction02.asp

fso.GetAbsolutePathName(webPath) C:\jang\books\asp\example\fileAccess\pathFunction02.asp
fso.GetFileName(webPath) pathFunction02.asp
fso.GetBaseName(webPath) pathFunction02
fso.GetExtensionName(webPath) asp
fso.GetDriveName(webPath) 
fso.GetParentFolderName(webPath) /jang/books/asp/example/fileAccess

View source: [Server-side script] [Client-side script (ctrl+u)]
回到「JScript 程式設計與應用:伺服器端