My application requires to copy data to \\yourUNC\path which is password protected
My application is aware of the UserName and Password.
If I use
Net Use \\yourUNC\path /username password
then that Share will be accessible from Windows Explorer too until it is deleted which is a security lapse.
I Use Delphi Xe2 with Windows OS