Hi all,
I want to get a file path(say a text file) to read and do some processing on it. So the file path is like this, as an example.
So I want to change this path to refer another PC. How can I do it.Code:"G:\\Work On\\CPP\\ReadFolder\\Data.txt"
Printable View
Hi all,
I want to get a file path(say a text file) to read and do some processing on it. So the file path is like this, as an example.
So I want to change this path to refer another PC. How can I do it.Code:"G:\\Work On\\CPP\\ReadFolder\\Data.txt"
Oh, I got it. Initially I try it as follows.
Used '$' sign to define the shared folder. But it wont work. So after doing some experiment I come across with following conclusions.Code:"\\\\192.168.2.88\\Test$\\Data.txt"
1) Should the file included in shared folder, Test is shared.
2) Should login to the PC as admin, where file is contain
3) Should have write permission to that folder
What you guys think about it.
The file share needs to be configured correctly to start with. Can you make that assumption?
I'm not get you. "shared need to be configured correctly"?
Simply I shared that folder login as admin.