Lub Rooj Sib Tham Universal Naming yog lub npe hu ua siv hauv Microsoft Windows rau kev nkag mus rau cov sib koom network folders thiab cov tshuab luam ntawv ntawm ib cheeb tsam network.
Kev txhawb nqa rau kev ua haujlwm nrog UNC txoj hauv kev hauv Unix thiab lwm lub tshuab ua haujlwm siv cov ntaub ntawv sib koom ua haujlwm sib koom ua ke xws li Samba.
UNC Lub Npe Syntax
UNC npe txheeb xyuas cov peev txheej hauv network siv cov cim tshwj xeeb. Cov npe no muaj peb ntu: ib lub npe khoom siv, ib lub npe sib koom, thiab ib txoj hauv kev xaiv cov ntaub ntawv.
Peb lub ntsiab lus no tau ua ke siv cov backslashes:
host-name\share-name\file_path
Tus Tswv-Npe Section
Tus tswv tsev-npe ntawm UNC lub npe tuaj yeem muaj xws li lub npe network cov hlua teeb tsa los ntawm tus thawj tswj hwm thiab tswj hwm los ntawm kev pabcuam npe network xws li DNS lossis WINS, lossis los ntawm IP chaw nyob.
Cov npe no ib txwm xa mus rau lub Windows PC lossis lub tshuab luam ntawv Windows-compatible.
Tshuaj-Npe Section
Cov npe-npe ntawm UNC pathname hais txog daim ntawv lo tsim los ntawm tus thawj coj lossis, qee zaum, hauv kev ua haujlwm.
Nyob rau hauv feem ntau ntawm Microsoft Windows, lub npe sib koom ua ke admin$ hais txog cov hauv paus hauv paus ntawm kev ua haujlwm nruab-feem ntau C: Windows tab sis qee zaum C: \\WINDOWS.
UNC txoj hauv kev tsis suav nrog Windows tsav tsheb, tsuas yog daim ntawv lo uas tuaj yeem siv rau ib qho tsav.
Cov Ntaub Ntawv_Path Section
Cov file_path feem ntawm UNC lub npe hais txog cov npe subdirectory hauv zos hauv qab ntu qhia. Ib feem ntawm txoj kev no yog xaiv tau.
Thaum tsis muaj cov ntaub ntawv_path tau teev tseg, txoj hauv kev UNC tsuas yog taw qhia mus rau theem sab saum toj ntawm kev qhia.
File_path yuav tsum yog qhov tseeb. Txoj kev txheeb ze tsis raug tso cai.
Yuav Ua Li Cas Nrog UNC Paths
Xav txog tus qauv Windows PC lossis lub tshuab luam ntawv Windows-tshaj lub npe Teela. Ntxiv rau qhov tsim-hauv admin$ sib koom, hais tias koj kuj tau txhais ib qho taw qhia hu ua temp uas nyob ntawm C:\temp.
Siv UNC npe, qhov no yog qhov koj yuav txuas mus rau folders ntawm Teela.
teela\admin$ (to reach C:\WINNT)
teela\admin$\system32 (to reach C:\WINNT\system32)
teela \temp (mus cuag C:\temp)
New UNC shares tuaj yeem tsim los ntawm Windows Explorer. Tsuas yog nyem rau ntawm lub nplaub tshev thiab xaiv ib qho ntawm cov kev xaiv qhia zaub mov los muab nws lub npe qhia.
Dab tsi Txog Lwm Backslashes hauv Windows?
Microsoft siv lwm cov backslashes thoob plaws Windows, xws li hauv cov ntaub ntawv hauv zos. Ib qho piv txwv yog C:\Users\Administrator\Downloads los qhia txoj hauv kev mus rau Downloads nplaub tshev hauv Administrator user account.
Koj kuj tseem yuav pom backslashes thaum ua haujlwm nrog cov lus txib-kab lus.
Kev xaiv rau UNC
Siv Windows Explorer lossis Command Prompt lossis Windows PowerShell, thiab nrog cov ntaub ntawv pov thawj kev ruaj ntseg zoo, koj tuaj yeem ua daim ntawv qhia network drives thiab nkag mus rau cov folders ntawm lub khoos phis tawj siv nws tsab ntawv tsav es tsis yog UNC txoj kev
Microsoft tau tsim UNC rau Windows tom qab Unix systems tau txhais cov lus sib txawv ntawm lub npe. Unix network paths (xws li Unix thiab Linux ntsig txog kev khiav hauj lwm xws li macOS thiab Android) siv rau pem hauv ntej slashes es tsis txhob backslashes.