Hide text entries in batch

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

  • Votes
  • Date
  • Descending date
  1. 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. I do not ask to hide the path but my text entries.
      --
         Henry
      Frédéric
      1. 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