Microsoft KB Archive/119940

= Parameters Cannot Be Added to Executables in Windows 95 =

Article ID: 119940

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Windows 95
 * Microsoft Windows 98 Standard Edition
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition

-



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.



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:  Click the Start button, and then click Run. Type the name of the application and the parameters you want to use, then click OK.  Use the MS-DOS Prompt as follows:

 Click the Start button, and then click Programs. Click the MS-DOS Prompt icon.</li> Type the name of the executable with the parameters you want to use, then press ENTER.</li></ol>

This option works for both MS-DOS-based and Windows-based applications.</li> For MS-DOS-based applications, change the properties of the file as follows:

 Run Windows Explorer and use the right (secondary) mouse button to select a file.</li> Click Properties, then click the Program tab.</li> Add a parameter to the end of the command (or cmd) line and click OK.</li></ol>

This option runs the application with the switch you specified each time you double-click this file.</li> Create a shortcut:

 Run Windows Explorer and use the right mouse button to drag the file to the desktop.</li> Click Create Shortcut(s) Here, then use the right mouse button to click the newly created icon.</li> Use the appropriate step below. <ul> For an MS-DOS-based application, click Properties, then click the Program tab.</li> For a Windows-based application, click Properties, then click the Shortcut tab.</li></ul> </li></ol>

Use the appropriate step below. <ul> For an MS-DOS-based application, add a parameter to the end of the command (or cmd) line and click OK.</li> For a Windows-based application, add a parameter to the end of the Target line and click OK.</li></ul>

This option runs the application with the switch you specified each time you double-click this icon.</li></ul>

Additional query words: execute highlight

Keywords: kbinfo kbui KB119940

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.