對於實體路徑的處理功能


physicalPath = D:\users\jang\books\asp\example\fileAccess\pathFunction01.asp

fso.GetAbsolutePathName(physicalPath) D:\users\jang\books\asp\example\fileAccess\pathFunction01.asp
fso.GetFileName(physicalPath) pathFunction01.asp
fso.GetBaseName(physicalPath) pathFunction01
fso.GetExtensionName(physicalPath) asp
fso.GetDriveName(physicalPath) D:
fso.GetParentFolderName(physicalPath) D:\users\jang\books\asp\example\fileAccess

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