opening a folder or file in a windows domain

L

Lz

I am trying to open a folder from somewhere in a windows domain for
processing (using C++). Something like:

ifstream infile;
infile.open(\\thesharename\somefolder");
while(!infile.eof()){
....
}

I want to inspect it and process it in a manner like the *nix test command
or *nix shell scripting allows. I would also like to open a file from a
domain for processing as well. Is this even possible or am I just confused?

thanks in advance for any advice.
Lz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,119
Latest member
IrmaNorcro
Top