Hide text entries in batch

koalatic Posted messages 384 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
Configuration: Windows XP Internet Explorer 7.0

5 answers

  1. docnono Posted messages 768 Status Member 67
     
    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
    1
  2. koalatic Posted messages 384 Status Member 21
     
    I do not ask to hide the path but my text entries.
    --
       Henry
    Frédéric
    0
  3. koalatic Posted messages 384 Status Member 21
     
    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
    0