1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

XP - Macro Startup

Discussion in 'Windows XP' started by macca111, Jan 18, 2007.

Thread Status:
Not open for further replies.
Advertisement
  1. macca111

    macca111 Thread Starter

    Joined:
    Jan 18, 2007
    Messages:
    2
    Hi,

    I work in an environment that has at any one time about 10-12 applications open. I am looking for a way to have these automatically opened by pressing an icon on the main desktop.
    Someone suggested a .bat file (USING NOTEPAD) which I tried using each of the full addresses then the file name followed by .exe, however they don't open still when I double click on it.

    For example:
    my file is called runme.bat. The file is:

    c:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE

    but is doens't activate the program.

    Any help would be appreciated
     
  2. Colossus610

    Colossus610

    Joined:
    Jun 15, 2005
    Messages:
    391
    try the same batch file but put quotes around any path with spaces in it
    e.g. "c:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE"
     
  3. macca111

    macca111 Thread Starter

    Joined:
    Jan 18, 2007
    Messages:
    2
    Hi,

    Thanks for your reply. I have the following in a batch file:

    c:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE
    "C:\Program Files\Mozilla Firefox\firefox.exe"

    When run, Excel opens, yet the black DOS window appears to hang and Firefox doesn't open.

    Thanks
     
  4. Colossus610

    Colossus610

    Joined:
    Jun 15, 2005
    Messages:
    391
    this seems to work for me....

    @echo off
    start firefox http://google.com/
    "c:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE"

    lemme know what happens.....
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/536399

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice