Using Aliases to Run Win32 Programs from INTERIX (246430)



The information in this article applies to:

  • Interix 2.2.1
  • Interix 2.2.2
  • Interix 2.2.3
  • Interix 2.2.4

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.

Modification Type:MajorLast Reviewed:7/31/2001
Keywords:kbinfo KB246430