Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Batch file with password  (Read 3235 times)

0 Members and 1 Guest are viewing this topic.

pinki

    Topic Starter


    Greenhorn

    Batch file with password
    « on: November 26, 2008, 02:36:07 AM »
    Can anybody help me ??  ???

    I want to make a batch file wich start a program and fills out
    a username and password.
    It has to run automaticly at PC-boot

    I can start the program but how to fill out the fields name en password ?

    Carbon Dudeoxide

    • Global Moderator

    • Mastermind
    • Thanked: 169
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Experience: Guru
    • OS: Mac OS
    Re: Batch file with password
    « Reply #1 on: November 26, 2008, 04:41:07 AM »
    Code: [Select]
    set /p username= :
    set /p password= :
    if /i %username%==yourpass goto :1
    exit
    :1
    if /i %password%==yourpass goto :2
    exit
    :2

    You should know that you anyone can find the password by right clicking and clicking Edit...

    pinki

      Topic Starter


      Greenhorn

      Re: Batch file with password
      « Reply #2 on: November 26, 2008, 05:45:58 AM »
      Thanks, but I don't get it working.

      The batch file has to start a local program and fill out the user name and password. I attached a screenshot of the program field.

      Any suggestions ?

      [Saving space - attachment deleted by admin]

      Carbon Dudeoxide

      • Global Moderator

      • Mastermind
      • Thanked: 169
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Experience: Guru
      • OS: Mac OS
      Re: Batch file with password
      « Reply #3 on: November 26, 2008, 05:58:04 AM »
      Not possible.

      pinki

        Topic Starter


        Greenhorn

        Re: Batch file with password
        « Reply #4 on: November 26, 2008, 06:02:56 AM »
        Too bad, thanx anyway for reacting   ;)

        Geek-9pm


          Mastermind
        • Geek After Dark
        • Thanked: 1026
          • Gekk9pm bnlog
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: Batch file with password
        « Reply #5 on: November 27, 2008, 03:15:30 PM »
        There are third party background things that do this, but it is not a batch file.
         It is a utility that does  it for you. It is kind of like when you go to a web site and the browser fills in the password. Try a Google for "password manager."  8)

        pinki

          Topic Starter


          Greenhorn

          Re: Batch file with password
          « Reply #6 on: November 28, 2008, 12:06:58 AM »
          Hey Thanks  :)

          found something, gonna check it out.