This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Java in General and the fly likes Hiding password in DOS window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Hiding password in DOS window" Watch "Hiding password in DOS window" New topic

Hiding password in DOS window

Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

Hi All,
Does anyone know if it is possible to hide a password in a DOS window? For instance, my user inferface for my Java app is command line. Can I somehow make DOs window not display the characters as user is typing, like on Unix? Many thanks!!!

Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
someone else asked the same question less than a week ago...
Try doing a search on the topic and see what you can find.

I agree. Here's the link:
subject: Hiding password in DOS window
It's not a secret anymore!