Hans Le Roy wrote:
<span style="color:blue">
> Hi Henry,
>
> "henryb" <henryb@discussions.microsoft.com> wrote in message
> news:281C754F-F208-4E66-B7F6-C0D4E7F4429F@microsoft.com...<span style="color:green">
>>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.</span>
>
> Maybe Batch2Exe does what you want.
>
http://bat-to-exe-converter.fatih-kodak.qarchive.org/</span>
You sure? Doesn't that merely wrap the original file with an .exe
interpreter? That is, the original batch file is probably just a data
section in the .exe file that anyone with a hex editor could view the
text strings to see the password. One of the features mentioned at the
author's home site is "hidden source" so maybe it jumbles up the data so
it can't be seen by looking inside the resultant .exe file with a hex
editor or string search utility.