|
by: 3A Web Hosting |
last post by:
Hi Folks
This is probably starring me in the face but how do I read the contents
of a hard drive directory? I've been playing around with the
opendir($dir) sample from php.net and can read from the server without
problem but how can I read a list of files from the hard drive of the PC
(win98 (spit!)) I'm using? Basically what I want to do...
|
by: Florian Liefers |
last post by:
"Hello world\n",
how can get a list of files/directories from a specified directory?
something like
FILE *fp=fopen("directory")
while (...) {
file=....;
cout << file << endl;
}
|
by: Greg Smith |
last post by:
Hi, all.
I have been asked to write an application that would keep track on archive
data on CDs and DVDs. I will basically need a line for each file.
I have started out by saving a "dir" to a text file and parsing the file,
but it seems there must be a better way to do this.
Is there a way to read down a directory tree and get all the...
|
by: Peter John |
last post by:
I am using the following code to read from and write to the registry.
The writing works fine but reading always fails. Can anyone suggest
what is going wrong?
Imports Microsoft.Win32
Public Class clsRegistry
Private Const conRegKey As String =
"Software\MyCompany\MyApplication"
|
by: Karel |
last post by:
Hello,
I have a VB.NET application where I want to move directories over a
network.
I tried this with system.io.directory.move, but that doesn't work over
different volumes.
Has anyone a sollution for this problem?
thx
|
|
by: **Developer** |
last post by:
Is there an easy way to copies all files in a directory into another
directory?
What about coping subdirectories too?
Thanks in advance for any info
|
by: Peter Pippinger |
last post by:
Hello NG,
I have written some code which worked fine under c#. But i don´t know,
how this shoud work in c++. I have tryed much things, but i can´t find
out how to use DirectoryInfo and FileInfo under c++.
Thanks for any hints!
Peter
Here is the c# code:
|
by: Tim |
last post by:
Can someone please tell me how I can get the last file added to a directory
( I am assuming it is a file attribute). I have built a text parsing
application. Right now I have to manually get the file to load it up. What
I want to be able to do is have the application (on load) check a directory,
get the last file added and parse the file...
|
by: mkarja |
last post by:
Hi,
I have a windows MDI program that draws some shapes that can
be saved into a file and read from that file.
The save seems to work with the WriteFile function, but for some
reason
the ReadFile function fails. These WriteFile/ReadFile are win32 api
functions.
I'll post both, the read and write function codes here so you can take
|
by: Laharl |
last post by:
My Operating Systems professor has assigned homework that basically boils down to implementing ls -lra, but with a different output format. In other words, list the files and subdirectories (and a bit of data about them, for the files) in the current directory and its subdirectories using system calls. Unfortunately, it isn't working quite right....
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
|