Ki?m tra n?u m?t ? ?a ho?c th m?c ch? t? m?t t?p tin th?c thi

D?ch tiu ? D?ch tiu ?
ID c?a bi: 65994 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

TM T?T

B?n c th? s? d?ng cc bo co n?u t?n t?i ? ki?m tra s? hi?n di?n c?a m?t th m?c. V d?, ? th? nghi?m cho C:\WIN v sau thay ?i ? C:\WIN n?u n t?n t?i, s? d?ng t?p tin th?c thi sau y:
   C:
   IF NOT EXIST C:\WIN\NUL GOTO NOWINDIR
   CD \WIN
   :NOWINDIR
				

THNG TIN THM

NUL lun lun t?n t?i trn m?t ?a c?c b? MS-DOS FAT; V? v?y, n?u C:\WIN t?n t?i, C:\WIN\NUL t?n t?i. K? thu?t ny c?ng c th? ?c s? d?ng ? xc minh r?ng m?t ? ?a t?n t?i. Vi du:
   IF EXIST E:\NUL GOTO USE_E
				
N?u m?t ?a cha ?nh d?ng l th? nghi?m, ho?c n?u ? ?a m?m l tr?ng r?ng, m?t X?y ra l?i INT 24 (Abort, th? l?i, Fail?).

Khng ph?i c?a nh?ng th? nghi?m ho?t ?ng m?t cch chnh xc v?i thi?t b? m?ng ho?c b?t k? khc thi?t b? m khng c m?t h? th?ng i?u khi?n thi?t b? i?u khi?n-b?ng t?p tin FAT ch?n (v d?, khi b?n ang s? d?ng Windows cho nhm lm vi?c 3,11 v?i 32-Bit Truy nh?p t?p ?c kch ho?t).

Tr?c khi ? s? d?ng k? thu?t ny, b?n nn bi?t nh?ng g? ph?n m?m m?ng cc khch hng ang s? d?ng, nh?ng g? lo?i c?a h? ang k?t n?i ?n my ch?, v t?p tin h? th?ng my ch? ang s? d?ng.

B?ng d?i y cho th?y khi n?u t?n t?i tr? v? NUL:
                                                         With 32-Bit File
                             No 32-Bit    With 32-Bit   Access and NetWare

Drive Type                  File Access   File Access    3.x connectivity

Local FAT                    correctly      always            never
Windows for Workgroups FAT   correctly      always            never
Microsoft LAN Manager HPFS     never        always            never
Windows NT FAT/NTFS            never        always            never
NetWare                      correctly      never             never
				

Thu?c tnh

ID c?a bi: 65994 - L?n xem xt sau cng: 17 Thang Tam 2011 - Xem xt l?i: 2.0
p d?ng
  • Microsoft MS-DOS 4.0 Standard Edition
  • Microsoft MS-DOS 5.0 Standard Edition
  • Microsoft MS-DOS 6.0 Standard Edition
  • Microsoft MS-DOS 6.2 Standard Edition
  • Microsoft MS-DOS 6.21 Standard Edition
  • Microsoft MS-DOS 6.22 Standard Edition
  • Microsoft Windows for Workgroups 3.11
T? kha:
kbmt KB65994 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:65994
Khc t Ni dung trong C s Kin thc Khng con c h tr
Bi vi?t ny ni v? cc s?n ph?m m Microsoft khng c?n h? tr? n?a. Do , bi vi?t ny ?c cung c?p "nguyn b?n" v s? khng ?c c?p nh?t.

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com