Questions tagged [file-properties]

File properties include any of various attributes, elements, metadata, or settings for one or more files in a file system.

Overview

File properties include any of various attributes, elements, metadata, or settings for one or more files in a file system.

97 questions
0
votes
1 answer

Modifying file properties/metadata

I can get a file's properties/metadata by calling Shell32.Folder.GetDetailsOf, but I can't seem to figure out how to modify those attributes. The properties I'm referring to are the "extended details" like Camera model and Camera name for image…
rafale
  • 1,704
  • 6
  • 29
  • 43
0
votes
1 answer

Editing extended file properties using powershell or VBA?

Is there a way to edit/change the extended file properties of a file using powershell? In particular I'd like to change the extended file properties of a .msg file which has been exported from outlook. I have seen a program online (proprietary code)…
Dead_Ling0
  • 171
  • 1
  • 1
  • 13
0
votes
0 answers

Does reading a file through a Python script (or any other code) change the file's Last-Time-Access properties?

I have written a Python program that reads multiple files and looks for some information. Here is the command that I used: try: with open(file_path, "r") as file_object: # do some stuff except: # do some stuff It works correctly as…
abhimanyue
  • 196
  • 1
  • 12
0
votes
2 answers

Access file properties of excel document by using ActiveWorksheet and not filepath VBA

I need to access the creation time of a excel sheet with VBA. I can't use the "normal" way by using: ActiveWorkbook.BuiltinDocumentProperties("Creation Date") Since this returns "Content Created" and not "Date created". Content created returns the…
0
votes
1 answer

Eclipse - Gradle sourceSets, how to manage my yaml property files

I'm using Gradle 7.0 and I made my project using the task Gradle Init. Then I imported it in Eclipse (2021-03 with buildship 3.1.5). Everything is fine but when I try to read or when I create a file in a java method with "/myfile.yaml" as path, it…
Gadou
  • 49
  • 1
  • 7
0
votes
1 answer

How to Restore a File's Default Build Settings in Eclipse

Due to project size, compiler optimizations are enabled, so that the build binary will fit onto our microcontroller. Optimization for select files is disabled (for debugging purposes) by right-clicking a source file in the Project Explorer >> C/C++…
Jim Fell
  • 13,750
  • 36
  • 127
  • 202
0
votes
1 answer

Set expiry time to a file while downloading

Is it possible to set Expiry time for a file while downloading from an URL. We have set expiry for the URL but we don’t have control on the file post download. Kindly help
useranon
  • 29,318
  • 31
  • 98
  • 146
0
votes
2 answers

Examining file on different node (different IP address), same network - possible?

I have a small group of Raspberry Pis, all on the same local network (192.168.1.2xx) All are running Python 3.7.3, one (R Pi CM3) on Raspbian Buster, the other (R Pi 4B 8gig) on Raspberry Pi OS 64. I have a file on one device (the Pi 4B), located…
0
votes
2 answers

How to stop printing the properties of an .rtf file out when I use print(file.read()) in python

I am new to coding python and have trouble when I print out from a file (only tried from .rtf) as it displays all the file properties. I've tried a variety of ways to code the same thing, but the output is always similar. Example of the code and the…
0
votes
0 answers

How to extract document properties of .docx,.xlsx,.pptx using StgOpenStorageEx() function?

I am using StgOpenStorageEx() to get document properties like Title,Subject,Tag,Authors,etc.. I am successfully getting all these properties of .doc,.xls,.ppt files. But Not getting anything for .docx,.xlsx,.pptx StgOpenStorageEx() is successfully…
jaykr
  • 81
  • 7
0
votes
0 answers

What is stopping this powershell script from running

A friend of mine asked me to make a script however I have not worked with power shell. I can't seem to find anything that tells me why this script doesn't run. Any tips are appreciated. The script is meant to run through all files in a folder and…
Liam36
  • 9
  • 3
0
votes
1 answer

Libreoffice Writer lets the computer crash when editing the file properties

In LibreOffice Writer (6.4.3.2 x64, Windows 10.0) I try to edit the file properties, particularly the custom properties. Trying anything (adding an attribute, deleting one, editing one) lets the computer crash with a blue screen. That happens when I…
Humbalan
  • 677
  • 3
  • 14
0
votes
0 answers

Getting property values from MSI file using PowerShell

I am adding property information to our MSI built using WiX 3.11. I am referring to the properties you find when right-clicking on a file and selecting Properties: In the Product.wxs file I am setting these values like so:
BrianKE
  • 4,035
  • 13
  • 65
  • 115
0
votes
0 answers

How to find file property that is showing google drive synced tick mark

I am using google drive sync app. Once the file is synced from pc to drive , its file icon is show tick mark that means it is completed. I want to run a scheduled task everyday that delete all files that is already synced to google drive. For that…
0
votes
1 answer

Getting windows mp3 files properties or tags using windows api?

I want to get the list of the properties which windows is able to get in its "Details" tab under File->Properties. I have read several old posts about this but don't know if there is a modern way to do this. Is there a new way to do this? Note that…
Drunk Cat
  • 483
  • 1
  • 4
  • 9