Sharing rule?

  • Thread starter Thread starter Rikki
  • Start date Start date
R

Rikki

Hi all,

I have one computer (Win2K Pro) that connected to the
network. I've
shared this system so all users can access this system.
I have a program has been set to use
\\ServerName\ShareDrive instead of local drive. If I work
from this system and use the
resource in this computer, did the OS use
\\ServerName\ShareDrive or use directly local drive?
All I know is if other user accesses this system from
another system, they will use \\ServerName\ShareDrive over
the network.
I need some explanation from you, so I can change my
source code of my program to get better performance.

Thank you very much.

Rikki
 
Not sure if this is what you are looking for but here it
is anyway.

Windows will access the files which ever way you specify
in your application no matter where you run from. So if
your program uses the share name (\\ServerName\ShareDrive)
then Windows will use the network functions to access the
files even from the local system. As for speed it would
be quicker (I think, no proof) to access the files using
the local file system (C:\whatever), but that would only
work when on the system the application resides on. For
code simplicity it would be easier to use the share name
for all access.

Charles W.
Indus Corporation
 
Back
Top