Protect password in batch file

Giganews Newsgroups
Subject: Protect password in batch file
Posted by:  henryb (henr…@discussions.microsoft.com)
Date: Tue, 8 Apr 2008

I need to use the net use command in a batch file that will be run
automatically, to ensure that a mapped drive is connected.

My question is, how can I avoid having the password to the mapped share
appear in plain text in the batch file?

Thanks.

Replies