Visual Workbench Does Not Preserve Case of Filenames

Last reviewed: January 21, 1996
Article ID: Q104679
The information in this article applies to:
  • The Visual Workbench, included with: Microsoft Visual C++, 32-bit Edition, version 1.0, 2.0, and 2.1

SUMMARY

When saving a file through Visual Workbench, 32-bit Edition, the filename's case is not preserved when saved.

The Windows NT File System preserves file and directory name case, but it is not case sensitive. Therefore, Visual Workbench's behavior should not cause any problems.

See the online help in File Manager for further information on how the Windows NT File System handles names. Select Help, choose Work With Files And Directories, then choose Naming A File Or Directory.

Example

If you save "hello.c" with Visual Workbench's File Save/Save As option, the file is actually saved as "HELLO.C" (notice the case) when viewed through the File Manager or command line.

NOTE: This article does not apply to Visual C++ 4.0 running on NT Workstation 3.51. The Visual WorkBench preserves filename case. Even when a file is saved with a name like hELLhOLE.c, in the File Manager, it appears as

   hELLhOLE.c  HELLHOLE.C  <file_attributes>

Additional Reference Words: 1.00 2.00 2.10

	
	


KBCategory: kbtool kbfasttip
KBSubcategory: VWBIss


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: January 21, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.