could you pls suggest me the best way for below scenario?
Would like to map a share drive using "net use" in scripting. ...do some stuff (copy,write/delete) ...then delete the drive.
Right now I have to pass the username/pwd as an argument.
Is there way to manage without providing the password?
Is there a way to encrypt the pwd and supply that in the argument?
Can I provide the password as an input text file to "net use" ...again encrypted
what is the best practice
thanks in advance