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
1
vote
1 answer

uwp StorageFile adding a custom property

In my uwp app I am getting Video files with KnownFolders.VideoLibrary. I am able to PreFetch videoProperties of the file and also some other properties. Now I actually want to tag the video files with some string data, and save that data so I can…
Muhammad Touseef
  • 4,357
  • 4
  • 31
  • 75
1
vote
1 answer

What is the difference between File.SetCreationTime() and File.SetCreationTimeUtc()

In particular, is there any difference between these two lines in terms of their outcomes: File.SetCreationTime("foo.txt", DateTime.UtcNow); File.SetCreationTimeUtc("foo.txt", DateTime.UtcNow); Perhaps File.SetCreationTimeUtc("foo.txt",…
Tom Robinson
  • 8,348
  • 9
  • 58
  • 102
1
vote
1 answer

Registering Sample Property Handler

So I built the RecipePropertyHandler from the Windows 7 SDK samples, ran regsvr32, and registered my PROPDESC file. This gives me the ability to edit a custom property named Difficulty on files of type .recipe, with a three-state dropdown box in the…
Jay Carlton
  • 1,118
  • 1
  • 11
  • 27
1
vote
1 answer

Is there a published XML Schema Definition for PROPDESC files?

In the MSDN documentation, I see fragments that look like XSD for the PROPDESC files for things like propertyDescriptionList attributes. Is the whole schema definition somewhere so I can validate my .propdesc file? Here's the sample propdesc file…
Jay Carlton
  • 1,118
  • 1
  • 11
  • 27
1
vote
3 answers

add file property (like jQuery's .data()) to a GDrive file - Google App Script

I was wondering if there's a way to append to a GDrive file some sort of information using Google App Script. For example, I'm currently working on some google Spreadsheets with GAS, and I really need to append to these spreadsheet some useful…
BeNdErR
  • 17,471
  • 21
  • 72
  • 103
1
vote
0 answers

How can I move my SVN working copy to Codeplex, maintainting file properties, but not history?

I am about to open-source one of my projects, and I want to move the current instance of it into CodePlex. How would I go about copying the current working directory into CodePlex's SVN, maintainting pile properties (like "svn:needs-lock" and…
John Gietzen
  • 48,783
  • 32
  • 145
  • 190
1
vote
1 answer

excel vba file filtering to "original filename"

I am working on a code in Excel VBA, where the user can pick the default route of a file if it is not on its default path. I would like to filter it, to make sure that they will not select a wrong file. My idea is to filter it somehow to check if…
Divin3
  • 538
  • 5
  • 12
  • 27
1
vote
0 answers

How to write/read own summary details to file properties in Delphi?

Most popular files (Like Word documents, TXT files, JPG images,...) have their specific summary details fields in properties. my program generates its save file, is it possible to have my own summary details fields in properties for my generated…
Armin Taghavizad
  • 1,625
  • 7
  • 35
  • 57
1
vote
1 answer

Is there a correct way to get file details in windows since GetDetailsOf column numbering changes between OS releases?

We have been using Shell32 Folder.GetDetailsOf(folderItem, column) to get file details and extended file details of different files. Unfortunately this breaks between OS versions since the column numbering changes, as can be seen from this code…
icecream
  • 973
  • 2
  • 12
  • 26
1
vote
1 answer

How to show "properties window" of native file system's file/folder in java

I am using java 1.6 and my java desktop application run on three O.S Windows, Linux and MAC. Using my application, user can list files and folder of native file system in JTree. My requirement is user can able view a "property window" of…
Ashish Pancholi
  • 4,569
  • 13
  • 50
  • 88
0
votes
1 answer

How do I add a substring from a filename into a CSV with the file's properties?

Evening everyone, I'm currently working on a script intended to check the last modified time of .docx files in multiple subdirectories and then export the file name, path, modified date, and a substring from the filename into an Excel. The idea is…
0
votes
0 answers

Is there a way to edit file properties on Android to include some sort of "watermark" for my translated subtitle files?

How to edit file properties on Android like on Windows? Or are there any other way to do similar operation? Doesn't have to be the exact and complete metadata line to edit, I just want to put some sort of "watermark" to my translated subtitle files…
Aang
  • 1
0
votes
1 answer

How to get the date of source content created in windows using python?

I have a file with the following properties where I can retrieve created and modified dates by using pathlib (st_ctime, st_mtime) easily. But I want to get the date displayed in the Details section of the same property tab, shown in the red…
0
votes
0 answers

PowerShell - How to get the Tags and Comments property of a file

I would like to write a PowerShell script to access the Tags and Comment property of a file We can see it in file explorer or in file > Properties > Details I try to use Get-MetaData it not recognized I probably have to install a module but I could…
Boucourt
  • 1
  • 4
0
votes
0 answers

MoveFile not resetting creation time attribute of file in original location after being moved

I am trying to call MoveFile to move a file to a new directory. Then make a new file with same name in the location it was moved from. I want the creation time attribute of the new file to be set to whatever the time is at the time the new file is…
cab327
  • 9
  • 2