Best thing to do is to map a network path as a drive. For example, your shared files are on \\192.168.0.25\Documents
[1] First open the \\192.168.0.25 in windows
[2] Right click on Documents folder and click 'Map Network Drive'
[3] Map it as Z: for example
[4] Now when you are in DOS prompt, just type Z:\ and press enter
[5] Enter Dir to view files in that mapped drive
[6] CMD.EXE -> notepad Z:\Text.txt