THE ZEPINT NETWORK

programmer assist

MS DOS MS DOS XML Feeds

MS DOS Questions MS DOS Solutions MS DOS Articles

Microsoft's disk operating system, MS-DOS was a very widely used operating system on the PC compatible platform until recently. It has gradually been replaced on consumer desktop computers with various generations of the Windows operating system. It was originally released in 1981 and had eight major versions before Microsoft stopped development in 2000.

Password Input Mask within Batch Files

DiggBlinkRedditDeliciousTechnorati

question by Abels | Easy

I'll try to make an input masking password from Batch files,

Suppose, I have this batch code for
mapping from a shared folder with password given.

rem======================codestart
@echo off
set /p hm= Host :
set /p dm= Share:
rem set /p ps= Password :
if exist Q: net use Q: /delete /y
net use Q: \%hm%\%dm% /user:administrator %ps%
set mapto=
rem======================codeend

You can see from the codes above,
I am using some of variable
for inputting PC hostname,
shared-folder-names, and its password.

My problem is,
is there any way,
so people (behind me, near me..)
won?t see what I?m typing
when i'm inputting my password (%ps%)?

Post reply Subscriptions

Re: Password Input Mask within Batch Files

answer by Abels

Ha! really sorry,, I've just found today,,
we dont have to give any of variable to password Input..

it will automically asking for the password..

Post reply Subscriptions

Got a MS DOS Question?

Just Sign Up and ask the top MS DOS experts!

Search via Google

User Login

Email Address

Password

MS DOS Experts

Rank Expert Points
#1 Abels 150
#2 frankzzsword 50
This a list of the Top MS DOS experts, how many points do you have?

Leading Experts

Rank Expert Points
#1 frankzzsword 4650
#2 Bejaan 2950
#3 csfreak 1100
#4 Anurag 700
#5 keyvez 700
#6 nnarasimha 600
#7 Nakata 600
#8 martinig 600
#9 mastercomputers 550
#10 Abhishek Chatterjee 250
#11 Abels 250
#12 Huntress 150
#13 Adkron 150
#14 Yogesh 100
#15 lexxwern 100
This is a list of overall best performing experts, how many points do you have?