أسلوب ASP BuildPath
التعريف والاستخدام
يضيف أسلوب BuildPath مسمى إلى مسار موجود.
النحو:
[newpath=]FileSystemObject.BuildPath(path,name)
المعلمات | الوصف |
---|---|
المسار | مطلوب. المسار الذي سيتم إضافة الاسم إليه. |
الاسم | مطلوب. إضافة اسم إلى مسار المسار. |
مثال
<% تعيين fs, path تعيين fs = Server.CreateObject("Scripting.FileSystemObject") path=fs.BuildPath("c:\mydocuments","test") response.write(path) set fs=nothing %>
الإخراج:
c:\mydocuments\test