opennms
+ Reply to Thread
Results 1 to 14 of 14

Thread: .bat file to search a exe file location

Hybrid View

  1. #1
    Kapone Guest

    Smile .bat file to search a exe file location

    Hi!
    Does anybody can help me to create one .bat file that search the location of a file (dorgem.exe) and executes it?
    And another .bat file to open a new browser minimized with a url (http:\\[url]www.dcc.online.pt\~c**07065)?[/url]
    Any help would be apreciatet.
    Thanks!

  2. #2
    Join Date
    Jan 2005
    Posts
    623
    Is this .exe on a system running Windows? How many drives are available to search through? Ex: C: D: E: ?? Does the .exe have any parameters to run hidden or do you want the program to interact w/ the user?

    Are you sure you want two batch files? You can write a simple line of code to execute iexplore.exe in the same batch script...
    Last edited by SyntaXmasteR; 05-24-2005 at 12:51 PM. Reason: Added Question
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  3. #3
    Kapone Guest
    Yes,the .exe is running on Windows, it's the executable file of a program that will be instaled by a user, that's why i want to search it! the .bat will be used by the user, to open that program. I don't need two batch file, it can be one. but it have to open a new explorer.
    Thanks!

  4. #4
    Join Date
    May 2005
    Posts
    2

    Exclamation .bat info

    Hello there,
    do you know which are the commands in a .bat file that first executes the installation .exe of a software, than runs it?
    thanks a lot.

  5. #5
    Join Date
    Jan 2005
    Posts
    623
    do you know which are the commands in a .bat file that first executes the installation .exe of a software, than runs it?
    To start any .exe you type
    Code:
    start whatever.exe
    If the .exe has any parameters that you can pass to the .exe you would have to enter those in after the .exe Some programs have parameters that will silently install an application while others will just execute the install file. You need to read the readme.txt and help files that come with the .exe to see what your options are.

    If you are trying to install programs from active directory onto X amount of puters then look for an MSI file that comes w/ the application. You can apply specific settings when the program gets installed on each machine.
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  6. #6
    Kapone Guest
    the problem is this:
    I'm gone a send a program installation file to a user, with the batch file that i want. The User will install the program in the folder that he want. And the thing is that when he executes my batch file it always runs the program and opens a new browser with my webpage. As I don't know where the user installed the program, the batch file has to be programmed to search the executavel file , to run it. Debtor for the aid!

  7. #7
    Join Date
    Jan 2005
    Posts
    623
    Why dont you write the program so that it creates a shortcut to its install path once its finished installing? I dont think i really understand what you are trying to do... Why would you send someone a program and then send them a batch file to start the program? Please try to be a little more clear
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

+ Reply to Thread

Similar Threads

  1. File Extension Library - What is a File Extension?
    By fileextension in forum General discussion
    Replies: 2
    Last Post: 11-15-2010, 01:38 PM
  2. What to do with a program in .bin file?
    By juanbauza in forum General discussion
    Replies: 3
    Last Post: 01-30-2010, 11:11 PM
  3. encrypted file location?
    By dipman44 in forum Security & Encryption
    Replies: 7
    Last Post: 06-11-2007, 11:28 PM
  4. Need Some Help In OCX File
    By AKH_xXx in forum Programming
    Replies: 0
    Last Post: 02-07-2007, 03:05 PM
  5. .bat File for SynataX******(or anyone that can do this)
    By Unregistered in forum Security & Encryption
    Replies: 1
    Last Post: 05-14-2005, 01:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts