Solved How to hide password entered via MS-DOS Batch Script 64-Bit

September 28, 2013 at 10:29:52
Specs: Windows 7 64 bit
Current code (below) does not work on a 64-bit machine:

> #.d echo E0100 B4 08 CD 21 88 C2 B4 02 CD 21 80 FA 0D 75 F1 B4
>> #.d echo E0110 4C CD 21 5B 2B D2 AC 3C
>> #.d echo N input.com
>> #.d echo RCX
>> #.d echo 0018
>> #.d echo W
>> #.d echo Q
debug < #.d > nul
del #.d


See More: How to hide password entered via MS-DOS Batch Script 64-Bit

Report •


#1
September 28, 2013 at 11:18:14
MS-DOS is a 16 bit text based operating system

Any code designed to run on MS-DOS is very unlikely to run on a 64 bit System.

There is no debug command in Windows 7

Stuart


Report •

#2
September 28, 2013 at 12:17:53
Why would you want to write in a scripting language for an Operating System that hasn't seen mainstream use since 1995? You should move on, and pick a modern OS. I still hear good things about Windows 7; you should give that a go.

How To Ask Questions The Smart Way


Report •

#3
September 28, 2013 at 17:46:50
✔ Best Answer
Yeh, 64-bit is overrated, imo. Win-7 32-bit will support CHOICE.EXE, but I doubt if the 64-bit version will. CHOICE can be used to mask, but it's awkward because it doesn't accept CR/LF. You have to use something else (ESC, f/e) to terminate the input. If CHOICE works on 64-bit, and you're still interested, post back. Best bet is like the others said: use another platform than batch.

Report •
Related Solutions


Ask Question