Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6725123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:46:11+00:00 2026-05-26T09:46:11+00:00

I need to prompt for a username and password from a batch script subroutine

  • 0

I need to prompt for a username and password from a batch script subroutine and I have the following requirements:

  1. Must be user-friendly (i.e. not on the command line, but from a
    dialog box).
  2. Must mask the password.
  3. Must not require customized settings or installation before I run the batch script (no AutoIT or odd IE settings).
  4. Must be compatible with Windows XP, 2008, and 7 (though if variations on a theme are appropriate I can check the specific OS).

I’m assuming that I may need to use VBscript, which I can easily create from within the batch script and then delete afterward. I did find this link, with two different VBScript options, but the first one violates requirement 1 (console based), and the second violates requirement 3 (default IE settings aren’t allowing dynamic content these days). Any other ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T09:46:12+00:00Added an answer on May 26, 2026 at 9:46 am

    HTML Applications might work for you. You could create a simple page with an <input type="password" /> control. I can’t think of a good way to get the password from the HTA back to the batch file, though, other than writing the password to a temporary file, or maybe a registry key.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What I need to do is to prompt the user with a username and
I want to display a prompt to get a user's username and password. I
I have encrypted documents. After unarchiving each document, I need to prompt the user
I need to prompt an alert message when a user selects a particular option
for e.g from command prompt I need to launch the exe with some switch
The first batch file launches a command prompt, i need the second command to
I need to prompt users to upgrade from JVM 1.5 to 1.6 when they
I have a small python script to make an installation. I need some information
I need to prompt a user to save their work when they leave a
I have the below script to import data from a csv file on my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.