file-attributes
create file with FileStream and apply FileAttributes
Is it po开发者_运维问答ssible while creating the file with FileStream also apply FileAttributes at the same time? I would like to create file for stream writing with FileAttributes.Temporary file attr[详细]
2023-04-08 17:53 分类:问答How to find if an item in a Windows folder is really hidden from the user?
I need to get the count of items (folders and files) in a Windows folder. I can easily do it based on the condition if I should include hidden items or not. But in my program I want to get the count o[详细]
2023-04-06 22:42 分类:问答Get attributes of all files under a directory while accessing the directory only
I\'m trying to write a function in C# that gets a directory path as parameter and returns a dictionary where the keys are the files directly under that directory and the values are their last modifica[详细]
2023-04-01 17:51 分类:问答How to set "execute" attribute to a file and check it in SVN from Windows?
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 and[详细]
2023-03-24 00:26 分类:问答Make a file Readonly from code, and also doesnt allow to change it from the Properties
I would like to change a file to read only from my application. For that i have used, SetFileAttributes(szFile, FILE_ATTRIBUTE_READONLY);[详细]
2023-03-20 19:18 分类:问答Working with File Attributes in C# .Net 2.0
So how can i recursively search a Folder and un-hide ALL files and sub folders in a directory? Like have it check each file and each folder... if they\'re hidden.. un-hide them. Iv been messing around[详细]
2023-03-09 12:03 分类:问答Is it possible to do a 'find . -ctime n' in JDK7?
Is it possible to do a equivalent \'find . -ctime n\' (Unix command) in JDK7? i.e. find all files based on last changed time?[详细]
2023-03-07 12:46 分类:问答Using VBA to get extended file attributes
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 come f[详细]
2023-02-25 11:56 分类:问答Get File Creation Date Over HTTP
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 entire[详细]
2023-01-28 21:00 分类:问答Is there any way to access http://<someserver.com>:<portnumber>/logs.log.txt using Java code in windows
I am trying to get file attributes present in a Unix server and when I type this url in my IE it displays the files in the file-folder-directory architecture.[详细]
2023-01-24 06:40 分类:问答