get a file from the network share

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

if i want to load the txt from the network share like
\\comp\share\a.txt
so what can i do?
Thank you
 
Hi HK guy,

You are doing it correctly, but remember to use double \ or put a @ in front of the string due to escape sequences.

Assuming comp is the computer name, and share is the share folder name:

"\\\\comp\\share\\a.text"
@"\\comp\share\a.text"
 
Back
Top