Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Create a Custom Document PropertyContent of Create a Custom Document Property.vbsMD5 Hash: 46A71F8ED4FFFD20AB5E9E2C3DF4227A |
||
' Description: Adds a custom property (TestProperty, with a value of "Test") to the summary information properties for a document named C:\Scripts\Test.doc.
Set objPropertyReader = CreateObject("DSOleFile.PropertyReader") Set objDocument = objPropertyReader.GetDocumentProperties _ ("C:\Scripts\Test.doc") Set colCustomProperties = objDocument.CustomProperties errReturn = ColCustomProperties.Add("TestProperty", "Test") | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |