file-attributes Questions
2
Solved
In a directory using Java I want to check each subdirectory for a DOS-specific attribute, but I want the code to run on other file systems as well. I can do this, which seems to be what the Java AP...
How asked 27/7, 2022 at 16:23
4
Solved
I'm trying to set flag that causes the Read Only check box to appear when you right click \ Properties on a file.
Thanks!
Deltadeltaic asked 29/7, 2009 at 18:5
4
Solved
I found some Linux files, and when I type ls -lah, it outputs this permissions format:
...
drwxr-xr-x. 2 root root
...
-rw-rw-r--. 1 root root
...
I would like to know, what is the mean...
Strickman asked 2/6, 2015 at 11:30
8
Solved
Let say, a file has the following attributes: ReadOnly, Hidden, Archived, System.
How can I remove only one Attribute? (for example ReadOnly)
If I use the following, it removes all the attributes:...
Satchel asked 13/9, 2011 at 9:29
2
Solved
Is there an alternate way in perl6 to get file attribute details like size, access_time, modified_time.. etc. without having to invoke native call?
As per the doc it is "unlikely to be implemented...
Civic asked 29/8, 2018 at 14:10
5
Solved
Trying to use Excel VBA to capture all the file attributes from files on disk, including extended attributes. Was able to get it to loop through the files and capture the basic attributes (that com...
Cradling asked 13/4, 2011 at 15:39
3
Users upload PDF files using my PHP application and I store them on S3. At some later point other users view the files, which I display 'inline' in their browser.
The problem is that the 'Title' a...
Thunell asked 18/3, 2019 at 20:50
2
My application has a folder of files that are all marked as "hidden" (including the folder itself). However, Inno Setup won't copy them for installation unless I remove the "hidden" attribute first...
Squadron asked 8/11, 2011 at 13:18
2
231, of a few thousand, files in a folder hierarchy have bad (null?) creation & modification dates. I can identify them:
find . -mtime -0
And their dates are all well into the future. Not su...
Monarchism asked 24/10, 2013 at 16:18
3
Solved
I noticed that when you commit or checkout files using Git in a Windows environment, the file attributes are not preserved (for example hidden or read-only). If I commit a hidden file and then I ch...
Pas asked 3/1, 2012 at 16:8
8
Last time I asked a similar question but that was about svn related versioning info. Now I am wondering how to query windows "File version" attribute about eg. a dll. I payed attention to wmi and w...
Sankaran asked 24/2, 2009 at 8:26
3
Solved
If File.SetAttributes("C:\\myFile.txt", FileAttributes.ReadOnly); sets a file as read only, how do I set it back to read/write if I need to?
I suspect it would be FileAttributes.Normal however wil...
Disarray asked 10/11, 2011 at 14:41
1
Solved
new File(url).lastModified() returns a long equal to the number of milliseconds since the epoch, which is GMT-based.
What is a simple way to convert this to a String representing system-local date...
Whoop asked 27/10, 2015 at 10:53
2
Solved
I'm trying to find a way to keep track of files even when they are moved or renamed in the file system.
One idea I had was to use the new UserDefinedFileAttributeView in Java 7 and create a custom...
Lothar asked 27/11, 2011 at 22:24
2
Solved
I'm writing a batch file and I need to know if a file is read only. How can I do that ?
I know how to get them using the %~a modifier but I don't know what to do with this output. It gives somethi...
Hatching asked 20/5, 2009 at 14:27
3
Solved
Given a file on a webserver (e.g., http://foo.com/bar.zip -> only accessible through HTTP), is there any way to get the date attributes (e.g., date [created, modified]) without downloading the enti...
Amero asked 1/12, 2010 at 16:35
1
Solved
My first question, please be gentle. I searched but could not find an answer here or elsewhere.
Note that this question does not apply to unpacking of arguments like *args.
In the python 3....
Fulford asked 28/12, 2013 at 2:53
5
I have a hidden file on my USB removable storage (FAT file system).
I'm using Windows 7. If I go to Properties window of this file and then to the Details tab, I will see that the attributes of t...
Sita asked 23/12, 2011 at 15:19
2
Solved
I need to read and modify the 'Compressed' attribute of a file on an NTFS partition from Java. I imagined something in the java.nio.file.attribute package would do it -- hell it's a complex enough ...
Aloft asked 16/10, 2013 at 11:11
1
Solved
I have the situation whereby I want to keep the original attributes on a file (the file creation date etc). Normally when you copy files in Windows, the copy that you make gets new 'modified' dates...
Mon asked 16/7, 2013 at 19:20
2
Solved
I didn't find any example on google... Can anyone show how it works? And when folders and files will be encrypted how to decrypt them?
Link:
FileAttributes Enumeration
Villarreal asked 13/10, 2012 at 17:16
2
Solved
I have SVN configured in Linux at a different location and I need to check-in a shell script to SVN with executable attribute ON from Windows. I use Bamboo as CI, which checks out sources from SVN ...
Whopper asked 29/7, 2011 at 13:42
2
Solved
I've got a simple WCF service that lets clients/consumers upload image, audio or video files to it. After the upload, the service is supposed to analyze the file and somehow retrieve the following ...
Quicklime asked 4/6, 2011 at 6:5
1
Solved
Possible Duplicate:
How to test if directory is hidden in C#?
DirectoryInfo dir = new DirectoryInfo(@"c:\test");
if ((dir.Attributes & FileAttributes.Hidden) == (FileAttributes.Hi...
Frig asked 31/8, 2010 at 18:27
1
© 2022 - 2024 — McMap. All rights reserved.