win32props
v0.3.3
Published
Reads and writes Windows file property values
Downloads
58
Maintainers
Readme
win32props
Reads and writes Windows file property values.
Functions
read(file:string, format?:boolean) => Promise<object>
Gets data for all available properties of a file. If format is true, values are formatted for display.
Windows Properties
getValue(file:string, propertyName:string) => Promise<string>
Gets the data for the specified property of a file.
getValues(files:string, propertyName:string) => Promise<object>
Gets the data for the specified property of files.
All files must be in the same folder.
setValue(file:string, propertyName:string, propertyValue:string) => Promise<boolean>
Sets the data for the specified property of a file.
This function requires lock on the file. If the file is used by another process, this operation fails.