101 questions
1
vote
0
answers
121
views
Set properties of an exe using Golang
Here's what I have so far:
package main
import (
"os"
"github.com/saferwall/pe"
)
func main(){
exePath, _:= os.Executable()
peFile, _:= pe.New(exePath, &pe.Options{})
...
0
votes
2
answers
856
views
What are the file properties in the Windows 11 shell? [closed]
The Windows shell has several hundred file properties that each have an index and a name. If one knows the index of a property, its value can be accessed for a specific file using the following code ...
0
votes
1
answer
4k
views
How does one find the "user/owner" of a file/directory and "Date Modified" via PowerShell?
Trying to create a Get-Child command that lists Mode, File (path\name), CreationTime, LastWriteTime, LastAccessTime, Length, and the User/Owner of the file/directories listed. I need to do this both ...
0
votes
1
answer
61
views
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 ...
0
votes
0
answers
120
views
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 ...
0
votes
1
answer
865
views
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....
-2
votes
2
answers
69
views
Having an issue with writing correct information to htmlfile with powershell convertTo-html
This question has 2 parts:
Ultimately I am trying to print out the data from the filedescription and originalfilename.
The first and probably simple question is how do I get those on the same line?
I ...
1
vote
2
answers
2k
views
Accessing the "Date Last Saved" using PowerShell
I am attempting to access the Date Last Saved of an xls file using PowerShell. It is in the details page and is more of a hidden attribute of the file. Pic attached for reference.
EDIT: Thank you for ...
0
votes
1
answer
631
views
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 ...
1
vote
2
answers
1k
views
How to update the Modified Date of folders with a batch file?
copy /b Source+,, updates a file's Modified Date.
Is there a method for folders?
4
votes
1
answer
4k
views
How to Modify "Media Created" Field in File Properties via Powershell
I'm trying to convert a few thousand home videos to a smaller format. However, encoding the video changed the created and modified timestamp to today's date. I wrote a powershell script that ...
0
votes
2
answers
732
views
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 ...
0
votes
2
answers
288
views
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 ...
1
vote
2
answers
4k
views
C# SharePoint CSOM change file properties after upload
I have searched and found several examples of how to do this, but I can't make them work - well part of it doesn't work.
I can perform the file upload, but the following attempt to change properties ...
1
vote
2
answers
1k
views
Is there a way to change windows folder thumbnails with Python?
I have hundreds of folders of images on my HDD, and with very few exceptions they each have a cover image that I want to use as their respective folder thumbnails, or at least a memorable first image. ...
1
vote
1
answer
1k
views
Add custom file extended properties
After adding metadata property handler for .svg extension with this tool, I am able to add keywords to .svg files via Windows Explorer.
I am now searching a way to add keywords via a C# application. I ...
0
votes
0
answers
59
views
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 ...
0
votes
2
answers
767
views
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 ...
0
votes
1
answer
616
views
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(...
5
votes
1
answer
4k
views
Fetch 'Copyright' info field for an exe using commandline in Windows Server 2016
I am interested in getting the 'Copyright' information field using the cmd or PowerShell. Manually, it can be accessed by
RighClick the executable -> Properties -> Details -> Copyright
I am ...
7
votes
1
answer
7k
views
Access Music File Metadata in Powershell [closed]
So over the years between getting copied from one PC/hard drive to the next, my music collection is in a bit of a mess, so I want to go through each one programmatically and update the file metadata ...
0
votes
1
answer
36
views
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 ...
38
votes
5
answers
53k
views
VS Code extension - get full path
I am writing a plugin for VS Code and I need to know the path of the file which is calling the extension, either if it was called from the editor context menu or explorer context menu or the user ...
0
votes
1
answer
420
views
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 ...
4
votes
0
answers
1k
views
In C# how to add a new custom properties entry in File Properties dialog details tab
In my C# project, I want to create a new custom property for all my dlls and executables and want it to show in the details tab like shown here.