Microsoft KB Archive/246430

= Using Aliases to Run Win32 Programs from INTERIX =

Article ID: 246430

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Interix 2.2 Standard Edition
 * Microsoft Interix 2.2 Standard Edition
 * Microsoft Interix 2.2 Standard Edition
 * Microsoft Interix 2.2 Standard Edition

-



This article was previously published under Q246430



SUMMARY
This article describes the use of aliases to run Win32 programs from INTERIX.



MORE INFORMATION
You can run Win32 programs from INTERIX the same way you would run them from cmd.exe, as long as the Win32 directories are in your shell PATH environment variable.

If you do not like the idea of "mixing" the two environments in your PATH variable, you can use aliases to accomplish the same thing. Aliases have the advantage of easy customization; anyone can set up aliases, even without administrator privileges, allowing you to launch Win32 programs without changing your PATH.

For example:

[prompt] alias attrib='//C/WINNT/system32/ATTRIB.EXE'

[prompt] alias cacls='//C/WINNT/system32/CACLS.EXE'

runs the ATTRIB.EXE program when you give the command attrib, and runs the CACLS.EXE program when you give the command cacls.

For additional information about running Win32 programs under INTERIX, see http://www.interix.com/NewInterix/technotes/note0003.html.

Keywords: kbinfo KB246430

-

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

© Microsoft Corporation. All rights reserved.