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(\"The attributes of the file are: \ ریسپانس ورائٹ(}})ف. اٹری بیوٹس) سٹ ف نائٹنگ سٹ فس نو نائٹنگ %>
آؤٹ پُٹ:
فائل کا کچھ اٹری بیوٹس: 32