Hide text entries in batch
koalatic
Posted messages
384
Status
Member
-
cchristian Posted messages 928 Status Member -
cchristian Posted messages 928 Status Member -
Hello,
I'm working on a project in Batch.
When I use the command "set /p" I can type text.
But is it possible to have the characters hidden when we type?
For example,
Like when changing the password of a session using (CMD).
- we enter the new password without it being displayed.
Thank you.
--
Henry
Frédéric
I'm working on a project in Batch.
When I use the command "set /p" I can type text.
But is it possible to have the characters hidden when we type?
For example,
Like when changing the password of a session using (CMD).
- we enter the new password without it being displayed.
Thank you.
--
Henry
Frédéric
Configuration: Windows XP Internet Explorer 7.0
5 answers
-
At the time of DOS, at the beginning of a batch file, we used
@echo off
cls
If I remember correctly, @ masks the command and Echo off masks the execution of the batch.
--
DocNoNo -
I do not ask to hide the path but my text entries.
--
Henry
Frédéric -
Good evening,
I found this on CCM (which may solve your problem).
https://forums.commentcamarche.net/forum/affich-2040404-ecrire-un-mot-de-passe-en-batch
--
Sincerely,
Christian. -
Thank you anyway, but I have already noticed.
Again, if someone is able to help me, I am open to anything.
--
Henry
Frédéric -
Good evening,
Why doesn't the solution proposed by DAMIEN P satisfy you?
Reminder:
https://forums.commentcamarche.net/forum/affich-2040404-ecrire-un-mot-de-passe-en-batchn-mot-de-passe-en-batch
--
Sincerely,
Cchristian.