0 Replies Latest reply on Nov 30, 2011 5:29 AM by Sab-Oracle

    Password should not be displayed in Windows 64 bit machine


      I am not sure whether this category is apt for my question.

      We have a requirement to mask the password entry in our utility in Windows 64 bit machine.

      I was trying to run the following from a 64 bit Windows machine .

      @echo off
      echo hP1X500P[PZBBBfh#b##fXf-V@`$fPf]f3/f1/5++u5>in.com
      echo Enter password:
      for /f "tokens=*" %%i in ('in.com') do set "password=%%i"
      del in.com
      echo The Password is:"%password%"

      This is not working. It works with 32 bit Windows.

      Please let us know if you have any other alternative to work in windows 64 bit.