Parameters Cannot Be Added to Executables in Windows 95

Last reviewed: August 7, 1996
Article ID: Q119940
The information in this article applies to:
  • Microsoft Windows 95
  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows NT Workstation version 4.0

SUMMARY

This article describes the new options available in Windows 95 when you want to run executable files with parameters.

MORE INFORMATION

Microsoft Windows, Windows for Workgroups, and Windows 95

In Microsoft Windows 3.x, Windows for Workgroups 3.x, and Windows 95, you can select a file in File Manager and open it with additional parameters with the following steps:

  1. Open File Manager and select a file you want to run.

  2. On the File menu, click Run. The application's name now appears on the command line.

  3. Add a parameter to the end of this command line and click OK.

Your application now runs with the specified switch.

Windows 95

In Windows 95, the additional options below are available.

  • Use the Start button as follows:

    1. Click the Start button, and then click Run.

    2. Type the name of the application and the parameters you want to use,

          then click OK.
    
  • Use the MS-DOS Prompt as follows:

    1. Click the Start button, and then click Programs.

    2. Click the MS-DOS Prompt icon.

    3. Type the name of the executable with the parameters you want to use,

          then press ENTER.
    

    This option works for both MS-DOS-based and Windows-based applications.

  • For MS-DOS-based applications, change the properties of the file as follows:

    1. Run Windows Explorer and use the right (secondary) mouse button to

          select a file.
    

    2. Click Properties, then click the Program tab.

    3. Add a parameter to the end of the command (or cmd) line and click OK.

    This option runs the application with the switch you specified each time you double-click this file.

  • Create a shortcut:

    1. Run Windows Explorer and use the right mouse button to drag the file

          to the desktop.
    

    2. Click Create Shortcut(s) Here, then use the right mouse button to

          click the newly created icon.
    

    3. Use the appropriate step below.

          - For an MS-DOS-based application, click Properties, then click the
    
            Program tab.
    
          - For a Windows-based application, click Properties, then click the
            Shortcut tab.
    
       4. Use the appropriate step below.
    
          - For an MS-DOS-based application, add a parameter to the end of the
            command (or cmd) line and click OK.
    
          - For a Windows-based application, add a parameter to the end of the
            To: line and click OK.
    
         This option runs the application with the switch you specified each
         time you double-click this icon.
    


KBCategory: kbusage kbui
KBSubcategory: svrwksta ntui prodnt wpp95 win95 wfw wfwg winshell appscomp
Additional reference words: 95 execute highlight


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 7, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.