Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Batch File help

  • 06-03-2008 1:22pm
    #1
    Registered Users, Registered Users 2 Posts: 221 ✭✭


    Hi All,

    I need to write a batch file which can :

    a) Open a exe on a shared drive on the network

    b) i need to enter a password into the exe

    Can this be done with a batch file?
    Any pointers on how to go about this. ,

    As you may have guessed I've never really done anything with batch files or dos command for that matter


    Thanks

    - Elfman


Comments

  • Registered Users, Registered Users 2 Posts: 9,579 ✭✭✭Webmonkey


    It can if the exe can take command line parameters to enter the password?


  • Registered Users, Registered Users 2 Posts: 2,426 ✭✭✭ressem


    Yep,
    if the user is already authenticated to connect to the file server (where the share is hosted), then the batch file will run the program on your local computer, when you provide the full path to the executable.

    As well as the password, Microsoft supplied patches, installs and some programs often have "silent" "no gui" and "accept eula" switches that you might also need to set.

    Typically on windows programs you check for such switches by going to the command prompt and typing /? after the name of the file, or search their web site.

    If it's a common program that you are looking to install someone here might have the list of switches to hand.


Advertisement