Windows Code to Parse MS-DOS Environment Variables

ID: Q68647


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) versions 3.0, 3.1


SUMMARY

PATH is a sample application for the Windows environment that demonstrates how to parse MS-DOS environment variables. PATH will accept any environment variable and the name of a file. A search path is a null-terminated string that consists of a sequence of directory specifications separated by semicolons (;). PATH searches for the named file by searching each directory (one directory at a time) in the order in which the directories are listed in the environment variable.


MORE INFORMATION

The following files are available for download from the Microsoft Download Center. Click the file names below to download the files:


Path.exe

For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address

http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

Additional query words: softlib PATH.EXE

Keywords : kbfile kbsample kb16bitonly kbWinOS310 kbWinOS300 KrIsrTsr
Version : WINDOWS:3.0,3.1
Platform : WINDOWS
Issue type :


Last Reviewed: December 8, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.