Search found 4 matches
- 18 Mar 2018 23:57
- Forum: DOS Batch Forum
- Topic: Mask password with Asterisk
- Replies: 16
- Views: 46209
Re: Mask password with Asterisk
Thanks everyone for the help, Antonio's reference looks works for me fine. Here is the final version that i will use: @echo off setlocal color a set tries=6 :top cls set /a tries=%tries%-1 if %tries%==0 ( goto :end) Echo Please enter password to proceed. Echo You have %tries% attempts left. call :Re...
- 15 Mar 2018 20:02
- Forum: DOS Batch Forum
- Topic: Mask password with Asterisk
- Replies: 16
- Views: 46209
Re: Mask password with Asterisk
Dave, Thanks... I read articles you recommended. The first issue I got is that <<call :getMaskedInput /p "Password: " PASS>> didn't recognized, so i changed <<:getMaskedInput>> to the <<:getMaskedInputLoop>>. But still, i couldn't link <<:getMaskedInputLoop>> and <<:getKey>> with my code. I am not s...
- 15 Mar 2018 02:25
- Forum: DOS Batch Forum
- Topic: Mask password with Asterisk
- Replies: 16
- Views: 46209
Re: Mask password with Asterisk
Thanks Squashman
I'v gone thru all codes from your link. Most of them uses asterisk, but unfortunately they are too complicated for me and i couldn't merge any of them with my "code". None off them executes any command (not sure if i'm correct)..
I'v gone thru all codes from your link. Most of them uses asterisk, but unfortunately they are too complicated for me and i couldn't merge any of them with my "code". None off them executes any command (not sure if i'm correct)..
- 14 Mar 2018 20:52
- Forum: DOS Batch Forum
- Topic: Mask password with Asterisk
- Replies: 16
- Views: 46209
Mask password with Asterisk
Hi everyone, I'm new here and in coding also :). Any advise for the below issue would be greatly appreciated. Here is what i need: Need to run batch file and release access to some file via "Cacls" cmd for user. Batch file should ask for password and before execution of cacls command need confirmati...