Can't Execute Utilities with POSIX Shell (SH.EXE)

Last reviewed: May 16, 1997
Article ID: Q117393
The information in the article applies to:

- Microsoft Windows NT operation system 3.1 - Microsoft Windows NT Advanced Server version 3.1

SYMPTOMS

From the POSIX Shell (SH.EXE), you may not be able to run any of the POSIX utilities.

CAUSE

In the POSIX subsystem the path and executable name must be completely specified. For example, if the file, LS.EXE is in the current directory, but that directory is not in the path, to execute the file, you must type:

   .\LS.EXE

NOTE: The POSIX subsystem is case sensitive.

WORKAROUND

Binary files executed within the POSIX shell must be in a directory identified in the PATH statement. Use the PATH command to add the appropriate directory to the path environment variable before you execute the POSIX shell.

- or -

Specify the complete path (case sensitive) at the POSIX command line.

NOTE: See Q100625 for more information on POSIX and case sensitivity.


Additional query words: prodnt
Keywords : kbtool ntposixap
Version : 3.1
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 16, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.