1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

Running Application With Different Environment Variables

Discussion in 'Windows Home Server' started by W, May 21, 2009.

  1. W

    W Guest

    How do I configure a desktop application icon in Windows 2003 so that it
    will run the application with a different environment path than the default?

    I have a misbehaving application (Quickbooks 2007) that is grabbing a copy
    of a DLL from the wrong folder, and I want to experiment with forcing it to
    load DLLs from its own working folder before it tries to grab the same named
    files from SYSTEM32.

    --
    W
     
  2. Dave Patrick

    Dave Patrick Guest

    Maybe this link helps.

    http://msdn.microsoft.com/en-us/library/aa376307.aspx



    --

    Regards,

    Dave Patrick ....Please no email replies - reply in newsgroup.
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    http://www.microsoft.com/protect


    "W" wrote:
    > How do I configure a desktop application icon in Windows 2003 so that it
    > will run the application with a different environment path than the
    > default?
    >
    > I have a misbehaving application (Quickbooks 2007) that is grabbing a copy
    > of a DLL from the wrong folder, and I want to experiment with forcing it
    > to load DLLs from its own working folder before it tries to grab the same
    > named files from SYSTEM32.
    >
    > --
    > W
    >
     
  3. "W" <persistentone@spamarrest.com> wrote in message
    news:dL2dnZ-xx8OLnYvXnZ2dnUVZ_r6dnZ2d@giganews.com...
    > How do I configure a desktop application icon in Windows 2003 so that it
    > will run the application with a different environment path than the
    > default?
    >
    > I have a misbehaving application (Quickbooks 2007) that is grabbing a copy
    > of a DLL from the wrong folder, and I want to experiment with forcing it
    > to load DLLs from its own working folder before it tries to grab the same
    > named files from SYSTEM32.
    >
    > --
    > W


    Instead of invoking the application directly, invoke it via a batch file
    like so:
    @echo off
    set path={set the desired path here}
    start /b "Name of App" "Path+Name of Executable"
     

Share This Page