Network take long time to start and doesn't maintain shared folder

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
Hi Kevin,
Does the network status normaly take 30-40 second to become available?
What am I missing?
DHCP server running and connected to your device with XPe.
Or you can change your net adapter to use Static IP address.
Should net share work even if the connection is not established?
You mean to access local share? If so then only if OS is configured in that way. I can remember exactly where it is configured.

Regards,
Slobodan
 
Back
Top