From 9ee6f5627d4b176a7da159b595bb61d1cf17e41d Mon Sep 17 00:00:00 2001 From: Maira Wenzel Date: Wed, 21 Nov 2018 17:26:28 -0800 Subject: [PATCH] add missing language selector --- docs/standard/io/file-path-formats.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/standard/io/file-path-formats.md b/docs/standard/io/file-path-formats.md index f166431a6464e..7de3859e69f3c 100644 --- a/docs/standard/io/file-path-formats.md +++ b/docs/standard/io/file-path-formats.md @@ -6,6 +6,9 @@ helpviewer_keywords: - "I/O, long paths" - "long paths" - "path formats, Windows" +dev_langs: + - "csharp" + - "vb" author: "rpetrusha" ms.author: "ronpet" --- @@ -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 @@ -211,7 +219,8 @@ class Example fi.MoveTo(@".\Test.txt"); } } -``` +``` + ```vb Imports System.IO