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
2 answers

Is there an argument for copyfile that will change the hidden property?

I have a database that writes data into a copied excel template. The template is hidden to keep the end user from tampering with it, however the final result is also hidden. Is there a way to change the hidden property when saving the new…
0
votes
1 answer

I have problem reading file property "file type" with c#

I'm trying to extract the value "file version" using c#, but it keeps on coming out empty. All other values seems to be read ok. Anyone got any tips? public static string GetExtendedFileProperty(string filePath, string propertyName) { …
Nesvik
  • 1
0
votes
1 answer

Execute property for oracle pkgs on Unix

I am trying to understand file properties and from what I understand that for the files like shell scripts on UNIX to be executable, the file properties need to be set to execute (rwx-). At our organization, oracle files are maintained on UNIX file…
Crux.Z
  • 13
  • 2
0
votes
1 answer

Does the Windows shell support multiple shell property handlers?

I was just trying out the Windows app sample for the Recipe Property Handler which is available here and I modified it to be used on .doc files instead of .recipe files: const WCHAR c_szRecipeFileExtension[] = L".doc"; But, this seemed to overwrite…
Alexandru
  • 12,264
  • 17
  • 113
  • 208
0
votes
1 answer

Accessing Created date of a CSV file using an Oracle External table

Situation I have a CSV file called inventory.csv located on an Oracle database server (2008 R2 Enterprise Edition Windows Server). This CSV file is used as an Oracle external table. Every hour, a scheduled task (Windows Task Scheduler) executes a…
chester
  • 297
  • 2
  • 13
0
votes
3 answers

How to pass in filename value property with today's date

I would like to pass in the file name with today's date from a property file…
M06H
  • 1,675
  • 3
  • 36
  • 76
0
votes
0 answers

Editing .LNK shortcut file special properties (e.g: Insert Mode, Font Weight, Cursor Size,...) with any programming language?

I want to edit the secondary/special properties that are applicable for certain target files only - in my case it's a batch file. I tried searching the web for an application to do this (command-line), but I could only find "shortcut file editors"…
DCSW
  • 23
  • 4
0
votes
1 answer

files cannot be modified after decompression

Sounds like read-only files, right? well not really. So my goal is to make a backup of all the files from an application I have build by simply compressing them to a .zip file. First I collect all files and put them in another folder (I don't need…
CularBytes
  • 9,924
  • 8
  • 76
  • 101
0
votes
1 answer

For Experts, Capture the full path of the file in Windows Explorer

Terminated for not being clear question? So as I have an answer? Need Clicking the Left Mouse Button on a file in Windows Explorer, and you receive a message with the full file path. Example: If I click the mouse on the file win.ini Displays the…
0
votes
0 answers

Comparing 2 files with the same content and being told that they are different

I'm using the following method to compare 2 files: static bool comparatabelas(string path1, string path2) { byte[] file1 = File.ReadAllBytes(path1); byte[] file2 = File.ReadAllBytes(path2); if (file1.Length ==…
César Amorim
  • 367
  • 3
  • 16
0
votes
1 answer

How to read file properties from many different files and save them to Excel

First, thanks for trying to answer my question. Ok, so I have loads of files (somewhere in the excess of about 500) from which I need to grab some of their properties. I need the File Name, Date Created, and Author and I'd like them to be saved into…
reelyard
  • 931
  • 1
  • 8
  • 29
0
votes
1 answer

Adding Custom File Properties/Attribute with Java or C# in Windows

Is it possible to add custom file attribute in file Properties preferably using Java, otherwise C#? Custom fields I want to do is Don't let the file copy. (But it can be modified) Don't let the file attach to anything that that connects to…
Eres
  • 1,559
  • 1
  • 16
  • 25
0
votes
0 answers

Reading MS Office XML document properties using WindowsAPI Code Pack fails on server

I have written a small C# application that displays the "Date Last Save"-property of an Office Document, using the WindowsAPI Code Pack: ShellFile file = ShellFile.FromFilePath(absolutePath); DateTime result =…
Zurb
  • 738
  • 1
  • 5
  • 18
0
votes
0 answers

How to remove program name from jpeg meta without changing dpi value?

Is there any way of removing the Program Name under Origin in Details tab from Properties without changing the dpi value? Everything i tried until now changes the dpi from 300 (the value i've saved it) to 75 or 95. Thanks
Skan So
  • 153
  • 1
  • 3
  • 15
0
votes
2 answers

Automatically reload properties file after change

I'm developing an application which gets informations from a file properties and I create a field which puts new values into properties file The problem is that when I submit changes, the file is not reloaded and changes are not considered only…