{"id":1299,"date":"2014-08-21T13:54:55","date_gmt":"2014-08-21T05:54:55","guid":{"rendered":"http:\/\/www.youthtribe.com\/?p=1299"},"modified":"2014-08-21T13:54:55","modified_gmt":"2014-08-21T05:54:55","slug":"asp%e6%80%8e%e4%b9%88%e6%a0%b7%e8%ae%be%e7%bd%ae%e6%96%87%e4%bb%b6%e4%b8%ba%e5%8f%aa%e8%af%bb%e5%b1%9e%e6%80%a7","status":"publish","type":"post","link":"http:\/\/www.youthtribe.com\/archives\/1299","title":{"rendered":"asp\u600e\u4e48\u6837\u8bbe\u7f6e\u6587\u4ef6\u4e3a\u53ea\u8bfb\u5c5e\u6027"},"content":{"rendered":"
\r\nFunction LockFile(strFileName)\r\n\tset fso = CreateObject(\"Scripting.FileSystemObject\")\r\n\tset f = fso.GetFile(strFileName) \r\n\tif  f.attributes <> 7  then\r\n\t\tf.attributes = 7\r\n\tend if\r\nEnd Function\r\nFunction UnLockFile(strFileName)\r\n\tset fso = CreateObject(\"Scripting.FileSystemObject\")\r\n\tset f = fso.GetFile(strFileName) \r\n\tif  f.attributes = 7  then\r\n\t\tf.attributes = 1\r\n\tend if\r\nEnd Function\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"

Function LockFile(strFileName) set fso = CreateObject(“Scripting.FileSystemObject”) set f = fso.GetFile(strFileName) if f.attributes 7 then f.attributes = 7 end if End Function Function UnLockFile(strFileName) set fso = CreateObject(“Scripting.FileSystemObject”) set f = fso.GetFile(strFileName) if f<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[218,1],"tags":[],"_links":{"self":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1299"}],"collection":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/comments?post=1299"}],"version-history":[{"count":1,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1299\/revisions"}],"predecessor-version":[{"id":1300,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1299\/revisions\/1300"}],"wp:attachment":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/media?parent=1299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/categories?post=1299"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/tags?post=1299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}