KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q117393: Can’t Execute Utilities with POSIX Shell (SH.EXE)

Article: Q117393
Product(s): Microsoft Windows NT
Version(s): winnt:3.1; :3.1
Operating System(s): 
Keyword(s): kbtool
Last Modified: 08-AUG-2001

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Windows NT Server version 3.1 
- Microsoft Windows NT Workstation version 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 
Technology        : kbWinNTsearch kbWinNTWsearch kbWinNTW310 kbWinNTSsearch kbWinNTS310 kbWinNTAdvSerSearch kbWinNTAdvServ310 kbWinNTS310search kbWinNT310Search kbWinNTW310Search
Version           : winnt:3.1; :3.1

=============================================================================

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.

Copyright Microsoft Corporation 1986-2002.