by: Jurgen Oerlemans |
last post by:
Hi,
How can get the following info from a specified directory:
* how many files with extension *.txt are there in this directory?
* what is the disk size these files take?
Jurgen
|
by: John R. |
last post by:
How do you set the following file attributes:
Compressed
Encrypted
Normal
ReparsePoint
SparsePoint
You CAN'T set these using FileInfo.Attributes or File.SetAttributes. It
doesn't work for...
|
by: Antonio |
last post by:
Good morning,
I've the following file system :
C: -> HTML -> Aziende -> Azienda_1 -> a.jpg
-> Azienda_2 -> a.jpg
...
-> Azienda_N -> a.jpg
my desire is to create an array of fileinfo...
|
by: John Bowman |
last post by:
Hi All,
..NET 1.1... I'm wondering if there is any approach more convenient to get a
list of FileInfo objects than the following. For example, if I wanted to get
1 list of all the Exe's and all...
|
by: Allen |
last post by:
When using FileInfo to delete a file, the file remains in the directory (not
deleted)
Dim foo as New FileInfo(strFileToDelete)
Try
foo.Delete()
Catch ex as IOException
'Open file handler
End...
|
by: Tim Failes |
last post by:
This seems a trival question, but I cannot get it to work properly...
Essentially my question is, how can I create a text file, and guarantee it is
given the current date/time as the Creation Time?...
|
by: rn5a |
last post by:
To work with files, when should one use the File class & when should
one use the FileInfo class?
Similarly, to work with directories, when should one use the Directory
class & when should one...
|
by: dolphinearth |
last post by:
Hi.
I have a strange problem around DirectoryInfo and FileInfo of C# (c-
sharp). I have a File Watcher which automattically imports files from
a network drive to a directory on the local...
|
by: Tom P. |
last post by:
I am having the following problem: I create a FileSystemWatcher and
wait for events. When the event does happen I refresh a
FileSystemInfo list and set properties accordingly (IsFile, IsDir,...
|
by: tinman77 |
last post by:
Hello,
I'm having a terrible time using the functions finfo_open and
finfo_file. I'm using PHP 5 on IIS 5.1 and Windows XP. I have enabled
php_mime_magic.dll and php_fileinfo.dll and also added...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|