hey
i used findfirst and findnext function but they can access only a path which is given by us. i want to access all folders and file of a drive like a antivirus do, when it scans the drive....
do u know how can we do it using c language?
gameon 0 Light Poster
Recommended Answers
Jump to PostPlease post up a little snippet of code trying to do what you want, and let's see what the problem is.
Jump to PostWhy should system calls be avoided if you know your target environment ?
Because it is expensive. It is like taking a "Boeing 747" to go for groceries to the local supermarket.
Jump to PostWell for 1 they tend to make your application slower & inefficient. It's like using your furniture to produce heat, or calling a bull-dozer to open your front door.
The events taking place upon calling system() are roughly the foll:
1. Suspends your program.
2. Calls the OS Shell. (Slowest …
All 9 Replies
Adak 419 Nearly a Posting Virtuoso
gameon 0 Light Poster
abhimanipal 91 Master Poster
nbaztec 45 Posting Pro in Training
abhimanipal 91 Master Poster
Aia 1,977 Nearly a Posting Maven
nbaztec commented: Nice way of putting it :) +1
Adak 419 Nearly a Posting Virtuoso
nbaztec 45 Posting Pro in Training
Aia 1,977 Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.