여기 내 코드는
Dim folderPath As String = "D:\con"
If (Not System.IO.Directory.Exists(folderPath)) Then
System.IO.Directory.CreateDirectory(folderPath)
End If
내가 달성하려는 것은 다음과 같습니다.
con
in 이라는 디렉토리 를 D:\
만들지 만 오류가 발생합니다.Could not find a part of the path 'D:\'.
The specified device name is invalid
라는 이름의 디렉토리를 만들 수없는 이유는 무엇 Con
입니까?
NUL, AUX, CON, COM1-4, LPT1-3, and PRN
DOS 장치에 사용되는 예약어입니다.
이는 IO.SYS에 지정되어 있으며 MS Dos 초기 날짜로 거슬러 올라갑니다. 다음은 간단한 목록입니다.
CLOCK$ - System clock
CON - Console; combination of keyboard and screen to handle input and output
AUX or COM1 - First serial communicationport
COMn - Second, Third, ... communicationport
LPT1 or PRN - First parallel port
NUL - Dummy port, or the "null device" which we all know under Linux as /dev/null.
CONFIG$ - Unknown
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다