Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion docs/standard/io/file-path-formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ helpviewer_keywords:
- "I/O, long paths"
- "long paths"
- "path formats, Windows"
dev_langs:
- "csharp"
- "vb"
author: "rpetrusha"
ms.author: "ronpet"
---
Expand Down Expand Up @@ -197,6 +200,11 @@ A peculiarity of the Windows file system that non-Windows users and developers f
```csharp
Directory.Create("TeStDiReCtOrY");
```

```vb
Directory.Create("TeStDiReCtOrY")
```

creates a directory named TeStDiReCtOrY. If you rename a directory or file to change its case, the directory or file name reflects the case of the string used when you rename it. For example, the following code renames a file named test.txt to Test.txt:

```csharp
Expand All @@ -211,7 +219,8 @@ class Example
fi.MoveTo(@".\Test.txt");
}
}
```
```

```vb
Imports System.IO

Expand Down