Cov txheej txheem:

VBScript Ua Haujlwm Nrog Mounted Drives: 6 Cov Kauj Ruam
VBScript Ua Haujlwm Nrog Mounted Drives: 6 Cov Kauj Ruam

Video: VBScript Ua Haujlwm Nrog Mounted Drives: 6 Cov Kauj Ruam

Video: VBScript Ua Haujlwm Nrog Mounted Drives: 6 Cov Kauj Ruam
Video: Nco Txog Hmoob - Xf. Txawj Pes Vaj & Fishermen's Project (Live Session) [Lyric Video] 2024, Hlis ntuj nqeg
Anonim
VBScript Ua Haujlwm Nrog Mounted Drives
VBScript Ua Haujlwm Nrog Mounted Drives
VBScript Ua Haujlwm Nrog Mounted Drives
VBScript Ua Haujlwm Nrog Mounted Drives

Cov lus qhia no yog los ntawm kev thov. Coob leej ntawm koj yuav lees paub qhov no los ntawm cov lus qhia yav dhau los uas kuv tau ua uas yog https://www.instructables.com/id/Intro_to_VB_Script_a_beginners_guide/. Zoo hauv qhov ntawd techwiz24 nug kuv tias koj puas tuaj yeem siv qhov no los txuas lub network tsav, tso duab, thiab tom qab ntawd thov kom rov txuas lub network tsav? thiab los ntawm lub network tsav, Kuv txhais tau tias yog sab nraud hdd. thaum nws rov txuas dua, kuv kuj xav tau nws lub npe sab nraud hdd, zoo li HDD1e. Kuv tuaj yeem tau txais txhua yam tshwj tsis yog CMD cov lus txib rau nws. Kuv xav tias koj tuaj yeem siv diskpart, tab sis kuv tsis paub tseeb, Zoo kuv hais rau nws Kuv yuav ua haujlwm rau nws thiab Tsim cov lus qhia tshiab yog tias kuv xam nws tawm. Zoo kuv xam nws tawm. Yog li ntawm no nws yog. Yog tias koj tsis tau nyeem kuv cov lus qhia yav dhau los koj tuaj yeem pom nws ntawm no. https://www.instructables.com/id/Intro_to_VB_Script_a_beginners_guide/ Kuv xav hais kom nyeem nws ua ntej nyeem qhov no yog tias koj tseem tsis tau nyeem nws tseem li feem ntau ntawm cov khoom yuav zoo ib yam thiab kuv yuav tsis rov zoo li qub. Thiab vim tias lemonie yws yws hauv ib qho ntawm kuv lwm cov lus qhia uas "Hauv qhov xav pom cov ntawv ntsa ntau zaus koj ua qhov zoo li tsis zoo. Siv ALT-Luam Screen yuav qhia lub thawv sib tham zoo dua". Kuv txiav txim siab tias kuv yuav tsis tso ib daim duab uas yeej muaj dab tsi los ua raws li kev qhia vim tias cov lus qhia tsis yog qhov pom pom ib qho ntxiv thiab cov duab yuav tsis ua mob rau nws lossis tsis pab nws yog li vim li cas thiaj siv sijhawm los ua lub ntsej muag luag ntxhi xwb ib tus neeg tuaj yeem yws tias kuv tsis tau tshuaj ntsuam lawv kom raug. Yog li hauv qhov no txhua qhov kev xaiv yuav yog cov ntawv keeb kwm yav dhau uas kuv nyiam thiab ntsia hlau yog tias nws zoo li tsis zoo !!!

Kauj ruam 1: Tshawb nrhiav

Kev tshawb fawb
Kev tshawb fawb
Kev tshawb fawb
Kev tshawb fawb

Thawj qhov peb yuav tsum tau ua yog nrhiav GUID ntawm lub hard drive peb xav tshem tawm. GUID yog Lub Ntiaj Teb Tus Cim IDentifier. Qhov no ua li cas yog tso cai rau koj lub khoos phis tawj kom nrhiav tau lub hard drive tshwj xeeb txawm tias tsab ntawv tsav tsheb tau muab rau nws li cas. Ib txoj hauv kev yooj yim los ua qhov no yog nqa lub qhov rais CMD thiab ntaus "MOUNTVOL"

Qhov no yuav coj mus rau nplooj ntawv pab rau Mountvol. Yog tias koj saib mus rau hauv qab ntawm daim ntawv nws yuav tsum qhia txhua qhov muaj nyob hauv lub hard drive, lawv cov ntawv tsav tsheb thiab txoj hauv kev. Los ntawm kev ua qhov no ntawm kuv Kuv tau txais cov ntaub ntawv no: Tsim, rho tawm, lossis teev cov ntim ntim ntim. MOUNTVOL [tsav:] txoj kev VolumeName MOUNTVOL [tsav:] txoj kev /D MOUNTVOL [tsav:] txoj kev /L qhia Cov NTFS cov npe uas twb muaj lawm nyob qhov twg lub ntsiab lus mount yuav nyob. VolumeName Qhia meej lub npe ntim uas yog lub hom phiaj ntawm qhov taw tes. /D Tshem tawm qhov ntim ntu taw tes los ntawm cov npe teev tseg. /L Sau cov npe ntim ntim rau cov npe teev tseg. Ua tau qhov tseem ceeb rau VolumeName nrog rau cov ntsiab lus tam sim no yog: \? / Volume {6ad2db35-4ab2-11de-964e-806d6172696f} C: / \? / Volume {6ad2db33-4ab2-11de-964e-806d6172696f} D: / \? / Volume {6ad2db34-4ab2-11de-964e-806d6172696f} E: / \? / Volume {b76a1f58-662f-11de-8a61-001111cb3c76} F: / \? -11de-964e-806d6172696f} A: / \? / Volume {c0ea045c-56fe-11de-8a5a-001111cb3c76} G: / _ Tam sim no yog koj saib hauv qab ntawm cov npe koj yuav pom cov pawg gobbledygook uas pib nrog \? / ntim thiab xaus nrog tsab ntawv tsav. Nov yog qhov peb xav tau! Ok yog li cia ua txhaum dab tsi peb muaj ntawm no: Peb muaj ntim sawv cev los ntawm \? / Ntim ces peb muaj cov ntawv nkhaus ces cov pawg ntawm cov lej, ntawv thiab cim. Cov lej tus lej thiab cov kab zauv yog qhov GUID rau tus tsav hauv nqe lus nug tom qab ntawd peb muaj lwm lub ntsej muag nkhaus tom qab ntawv sib tsoo thiab daim ntawv tsav tsheb. Yog li ntawd yuav tsum yooj yim txaus ua raws. Yog li hauv kuv lub computer kuv muaj \? / Volume {6ad2db35-4ab2-11de-964e-806d5172696f} C: / qhov no yog kuv lub hard drive tseem ceeb rau lub computer \? / Volume {6ad2db33-4ab2-11de-964e-806d5172696f } D: / Leej twg yog tus sau dvd \? / Volume {6ad2db34-4ab2-11de-964e-806d5172696f} E: / Lwm tus neeg sau dvd \? / Volume {b76a1f58-662f-11de-8a61-001114cb3c76} F: / Daim DVD cuav yog li kuv tuaj yeem teeb tsa ISO cov ntaub ntawv tsim kuv li Daemon program kuv muaj \? / Volume {6ad2db32-4ab2-11de-954e-806d6172696f} A: / 3.5 floppy drive…. Yog kuv paub kuv paub tab sis tu siab kuv tseem siv lawv ib zaug thaum lub sijhawm zoo. \? / Volume {c0ea045c-56fe-11de-8a5a-001111cb3c76} G: / Qhov no yog qhov tsav hauv lo lus nug uas kuv xav tshem tawm hauv qhov piv txwv no nws yog qhov ua tau 128meg dhia kuv siv rau kev sim. Txoj kev no yog tias kuv buggered nws Kuv tsis xoob lub hard drive lossis qee yam.

Kauj ruam 2: Siv Mountvol

Siv Mountvol
Siv Mountvol
Siv Mountvol
Siv Mountvol

Tam sim no uas peb muaj GUID peb tuaj yeem siv nws los teeb tsa thiab tshem tawm qhov tsav hauv nqe lus nug Tam sim no ua ntej peb mus thiab ua txhua txoj haujlwm ntawm kev sau ib tsab ntawv peb xav kom ntseeg tau tias nws ua haujlwm thiab yog tsav raug. g tsav yog tsav Kuv ua haujlwm nrog yog li kuv yuav hais g: / txawm li cas los xij koj yuav tsum tau muab tso rau hauv daim ntawv tsav ntawm tus tsav koj tab tom nrog. tib yam nrog nws GUID, vim nws yog qhov tshwj xeeb rau txhua qhov tsav thiab koj li WONT yuav zoo ib yam li peb. Peb yuav cia li siv qhov hloov pauv "/d" kom tshem tawm qhov taw tes tom qab ntawd siv mount comand kom rov hais dua nws siv cov lus qhia ua Yog li nqa ib qho cmd tam sim ntawd los ntawm kev mus thiab sau cmdat qhov hais kom sai rau hauv: mountvol g: / /dnow thaum peb ntaus mountvol hauv qhov hais kom sai txhua yam zoo ib yam tsuas yog tam sim no nws hais tias: \? Volume {c0ea045c-56fe-11de-8a5a-001111cb3c76} *** NO MOUNT POINTS *** instead of \? / Volume {c0ea045c-56fe-11de-8a5a-001111cb3c76} G: / Qhov no zoo nws txhais tau tias peb tshem tawm qhov peb xav tau. Tam sim no peb yuav tsum rov sau nws Hom no ntawm comand prompt: mountvol g: \? / Volume {c0ea045c-56fe-11de-8a5a-001111cb3c76} thiab tom qab ntawd ntaus mountvol ib zaug ntxiv thiab txhua yam yuav tsum rov qab mus rau qhov uas nws tau ua Cov ntsiab lus kom rov ua haujlwm tau tsav yog raws li hauv qab no: Lo lus mountvol ua raws los ntawm qhov chaw tom qab ntawv tsav thiab cov nyuv sau los ntawm ib qhov chaw tom qab ntawd rov qab rov qab rov qab lo lus nug cim rov qab tom qab ntawv lo lus ntim tom qab ntawd qhib lub ntsej muag bracket ces GUID tom qab ntawd kaw curly bracket ces backslash

Kauj Ruam 3: Ua Haujlwm Nrog Cov Ntawv

Ua Haujlwm Nrog Cov Ntawv
Ua Haujlwm Nrog Cov Ntawv
Ua Haujlwm Nrog Cov Ntawv
Ua Haujlwm Nrog Cov Ntawv

Tam sim no yog ib feem ntawm dab tsi techwiz24 nug kuv yog thaum nws rov txuas dua, kuv kuj xav tau nws lub npe sab nraud hdd, zoo li HDD1e.

Txhawm rau ua qhov ntawd peb tsuas yog siv daim ntawv lo lo lus txib nws ncaj ncaj rau pem hauv ntej Tsuas yog coj lub qhov rai hais kom ua ib yam li zaum kawg thiab ntaus: g: Qhov no yuav hloov koj phau ntawv teev npe mus rau g:> Tom qab ntawv ntaus vol thiab tsis siv lub ntim ntim ces tsuas yog ntaus daim ntawv lo thiab xijpeem koj xav kom nws hu ua yog li kuv xav sau kuv lub hard drive bobby Kuv yuav ntaus: daim ntawv lo bobby Tom qab ntawv tsuas yog ntaus vol dua thiab nws yuav qhia lub npe tshiab ntawm lub ntim yog bobby Tam sim no tsuas yog ua haujlwm yog tias koj tab tom ua haujlwm hauv phau ntawv teev npe uas koj xav hloov txawm li cas los xij thaum peb ua peb tsab ntawv peb tsis xav hloov phau ntawv teev npe ces hloov ntim kom peb tsuas yog ntaus: daim ntawv lo g: bobby qhia rau koj tias nws yooj yim me ntsis.

Kauj Ruam 4: Ntxiv Qhov Peb Kawm Tau Rau Hauv Tsab Ntawv

Ntxiv Qhov Peb Kawm Tau Rau Hauv Tsab Ntawv
Ntxiv Qhov Peb Kawm Tau Rau Hauv Tsab Ntawv
Ntxiv Qhov Peb Kawm Tau Rau Hauv Tsab Ntawv
Ntxiv Qhov Peb Kawm Tau Rau Hauv Tsab Ntawv

Yog li tam sim no peb tsuas yog ua peb tsab ntawv raws li peb tau ua ua ntej tab sis tsis txhob siv ipconfig comands peb yuav tam sim no siv mountvol comands. Ntawm no yog tus lej rau kev xiam lub tsav: teeb tsa shellobj = CreateObject ("WScript. Shell") shellobj.run "cmd" wscript.sleep 200shellobj.sendkeys "mountvol g: / /d {enter}" _ Koj yuav tsum nkag siab txhua yam ntawm no kom deb ntawm peb qhov kev sim me me Ntawm no yog tus lej qhib daim duab zoo li nws xav tau thiab kaw thawj qhov hais kom ua qhov rai: wscript.sleep 2000shellobj.sendkeys "c: / 3-j.webp

Kauj ruam 5: Tsab Ntawv Ua tiav

Tsab Ntawv Tiav
Tsab Ntawv Tiav
Tsab Ntawv Tiav
Tsab Ntawv Tiav

Nov yog tsab ntawv ua tiav yam tsis muaj kev cuam tshuam uas koj tuaj yeem xaub ncaj qha rau hauv koj tsab ntawv thiab ua tiav nrog nws. Koj yuav tsum hloov txoj kab uas hais txog daim duab rau daim duab uas koj xav tau hauv cov npe uas koj xav tau tab sis nco ntsoov tsis txhob siv phau ntawv teev npe ntawm lub ntim uas koj tau tshem lossis nws yuav tsoo tawm vim nws tsis pom nws hauv phau ntawv teev npe. Tsis tas li nco ntsoov tias koj yuav tsum tau hloov cov ntawv tsav tsheb thiab GUID rau koj qhov tseeb raws li cov no cuam tshuam rau kuv thiab tuaj yeem ua rau txhim kho koj li kab ke. Saib rau Rem kab ua ntej kab koj yuav tsum hloov pauv thiab koj yuav tsum zoo: teeb tsa shellobj = CreateObject ("WScript. Shell") shellobj.run "cmd" wscript.sleep 200rem hloov cov kab hauv qab no los xav txog tsab ntawv tsav tsheb ntawm koj driveshellobj.sendkeys "mountvol g: / /d{enter}"wscript.sleep 2000rem hloov cov kab hauv qab kom muaj kev cuam tshuam lub npe tiag tiag thiab cov npe ntawm daim duab koj usingshellobj.sendkeys" c: / 3-j.webp

Kauj Ruam 6: Tsis Muaj Cov Kauj Ruam Tsuas Yog Lus Teb

Tsis Muaj Cov Kauj Ruam Tsuas Yog Saib
Tsis Muaj Cov Kauj Ruam Tsuas Yog Saib

Zoo kuv vam tias tau pab koj…. Yog tias tsis muaj dab tsi piav qhia zoo txaus qhia rau kuv paub thiab kuv yuav sim piav qhia zoo dua. Thiab kuv vam tias txhua tus nyiam cov ntawv ntsa. Tsis yog kuv tsis ua lawv…. lawv yog txhua tus uas kuv tau pom hauv net.

NCO TSEG:: Yog leej twg muaj lus tsis txaus siab txog kuv kev qhia thov xa lawv mus rau [email protected]. Kuv txhais tau tias tiag, koj puas xav tias kuv muab qhov phem rau qhov koj xav? Yog tias koj tsis xav kawm ib yam dab tsi ces tsis, Yog tias koj ua ces ua, tab sis tsis txhob ua siab phem thiab yws vim tias cov duab tsis tseem ceeb tsis tau teeb tsa kom raug lossis ib yam dab tsi ua rau hais qhov tseeb Kuv tsis CARE !!!

Pom zoo: