Dir Function on Network

P

Peter Hibbs

Quick question -

Does the Dir function work over a network connection.

For example, if the string strPath holds the full path to a file on
the server would the line below work correctly.

If Dir(strPath) = "" Then

Haven't got a network at home so I can't try it at the moment.

Peter Hibbs.
 
R

Rick Brandt

Peter said:
Quick question -

Does the Dir function work over a network connection.

For example, if the string strPath holds the full path to a file on
the server would the line below work correctly.

If Dir(strPath) = "" Then

Haven't got a network at home so I can't try it at the moment.

Peter Hibbs.

Yes.
 
Top