Visual Workbench Does Not Preserve Case of Filenames

ID: Q104679


The information in this article applies to:
  • The Visual Workbench,
    • Microsoft Visual C++ 32-bit Edition, versions 1.0, 2.0, 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 query words: 1.00 2.00 2.10

Keywords : kbide kbVC
Version :
Platform : NT WINDOWS
Issue type :


Last Reviewed: January 14, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.