ASP Attributes অ্যাটট্রিবিউট
সংজ্ঞা ও ব্যবহার
Attributes অ্যাটট্রিবিউট ব্যবহার করে নির্দিষ্ট ফাইল বা ফোল্ডারের অ্যাটট্রিবিউট সংযোজিত কিংবা ফিরিয়ে দেয়。
সংজ্ঞা:
FileObject.Attributes[=newattributes] FolderObject.Attributes[=newattributes]
পারামিটার | বর্ণনা |
---|---|
newattributes |
অপশনাল। ফাইল বা ফোল্ডারের বৈশিষ্ট্য মান নির্দিষ্ট করে একটি বা একাধিক মান পছন্দ করুন:
|
ইনস্ট্যান্স
<% dim fs,f set fs=Server.CreateObject("Scripting.FileSystemObject") set f=fs.GetFile("c:\test.txt") Response.Write("ফাইলের বৈশিষ্ট্যগুলি: ") Response.Write("}}")f.Attributes) set f=nothing set fs=nothing %>
การปรากฏตัว:
คุณสมบัติของไฟล์คือ: 32