anyone know how I can read the directory of shared folder that is on a my lan using c++?
I can use:
system( "dir C:\\ > temp.txt" );
to view my computer's directory
I tried going into 'my network places' for the address of the folder
\\CompName\shareddocs
then tried
system( "dir \\CompName\shareddocs > temp.txt" );
and as I expected it wouldn't be that easy and gives me a file not found error
so, how exactly would I be able to get those file names?