Solved compile Search file in network drive in C++ for me please

August 28, 2015 at 01:24:58
Specs: Windows 7
I am beginner for C++, please kindly help how to write a C++ script for searching word document files if exist then open it.

1. enter file name
2. Search file in exact network drive...not C, D and E drive.
3. If file exist then auto open it.
4. If file isn't exist, appear error message "file not found".
5. Return to menu continue or exit.

Thanks all of you help.


See More: compile Search file in network drive in C++ for me please

Report •


#1
August 28, 2015 at 02:52:34
The C++ code for searching directories and spawning programs is quite complicated. You need to start with easier stuff.

Report •

#2
August 28, 2015 at 07:10:36
✔ Best Answer
There's no C++ portable way to interface with a drive over the network. Decide if you're running on Windows or *nix, decide if you're talking to NFS or SMB, look up the API reference for your choice, and get started.

How To Ask Questions The Smart Way


Report •

#3
August 28, 2015 at 19:18:38
Thanks for your advise. I will double check before I ask again.

Report •

Related Solutions


Ask Question