I asked this question before but when i tried the answer it didn't work and i didnt reply a post so here i go again. I am trying to interact with files over the network. lets say the dir is \\lab_techs\c\flag\log.txt, i need to write to that file when ever i want. However that drive has a password. Lets assume that password is god, how would i automatically enter that password everytime i write to the file.
I've tried getting windows to auto remember the password, the program doesn't write to it unless i manually open that folder first. Maybe windows rewrites pw in cache everytime you enter it this way it works then dont know but will really appreciate any help.




Reply With Quote