Detecting shares using walk_dir()
- Posted by ZNorQ Dec 04, 2014
- 1865 views
Hi,
I'm trying to create a program that logs files on certain servers, but I'd like it to automatically detect the (public) shares.
Example;
some-server\<arbitrary public shares>\
I'm currently using walk_dir() to log the files, but it wont accept;
object nResult = walk_dir("\\some-server\", routine_id("myWDRoutine"), true )
The above code results in no output, even if there where shares for that server. Is there another way I can solve this?
Kenneth aka ZNorQ