Parameters Cannot Be Added to Executables in Windows 95 (119940)



The information in this article applies to:

  • Microsoft Windows 95
  • Microsoft Windows 98
  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Workstation 4.0

This article was previously published under Q119940

SUMMARY

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

MORE INFORMATION

Microsoft Windows, Windows for Workgroups, and Windows 95/98

In Microsoft Windows 3.x, Windows for Workgroups 3.x, and Windows 95/98, 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/98

In Windows 95/98, 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.
    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 Target line and click OK.
    This option runs the application with the switch you specified each time you double-click this icon.

Modification Type:MinorLast Reviewed:12/16/2004
Keywords:kbinfo kbui KB119940