Microsoft KB Archive/246430: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 56: Line 56:
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.<br />
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.<br />
<br />
<br />
If you do not like the idea of &quot;mixing&quot; 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.<br />
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.<br />
<br />
<br />
For example:<br />
For example:<br />

Latest revision as of 13:50, 21 July 2020

Knowledge Base


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