G
Guest
I have an app that runs as the shell program At the very beginning of this
app, I create a folder which I need to share to a network. So I create the
folder and use net share to share it. The server service takes about 30-40
second before it starts, and if I try to use net share before then, I can't
see the shared folder on a remote PC (appearently the net share fails). If
however I put a delay of 40 second at the beginning of my app, and then
create the folder and share it, it works. Also once I have the folder shared
properly, I lose the shared status after reboot.
questions---
Does the network status normaly take 30-40 second to become available?
Should net share work even if the connection is not established?
What do I need to maintain the share status across reboots?
What am I missing?
thanks
kevin
app, I create a folder which I need to share to a network. So I create the
folder and use net share to share it. The server service takes about 30-40
second before it starts, and if I try to use net share before then, I can't
see the shared folder on a remote PC (appearently the net share fails). If
however I put a delay of 40 second at the beginning of my app, and then
create the folder and share it, it works. Also once I have the folder shared
properly, I lose the shared status after reboot.
questions---
Does the network status normaly take 30-40 second to become available?
Should net share work even if the connection is not established?
What do I need to maintain the share status across reboots?
What am I missing?
thanks
kevin