Trik CMD
Trik CMD
Just about any command can be stopped in its tracks with the abort command: Ctrl-C. If you haven't actually executed a command, you can ust backspace and erase what you've typed, but if you've already executed it then you can do a Ctrl-C to stop it. Warning: Ctrl-C isn't a ma!ic wand and it can't undo thin!s that aren't undoable, like a partially complete format command. "owever, for thin!s like the dir command that seem to !o on forever or #uestions you're asked at the prompt that you don't know the answer to, the abort command is an excellent Command $rompt trick to know. 2. View a Command's Results One Page (or ine! at a "ime
%ver run a command, like the dir command, that produces so much information on the screen that it's almost useless& 'ou're not alone. (ne way around this is to execute the command in a special way so whatever information is !enerated is shown to you one pa!e, or one line, at a time. )o do this, ust type the command, the dir command for example, and then follow it with the pipe redirection operator and then the more command. *or example, executin! dir #s $ more will !enerate the thousands of lines of results that you expect from the dir command, but the more command will pause each pa!e of results with -- %ore -- at the bottom of the pa!e, indicatin! that the command is not done runnin!. Just press the space bar to advance by pa!e or press the %nter key to advance one line at a time. +ee Command $rompt )rick ,- below for a different solution to this problem. &. Run Command Prom't as an Administrator Automati(all)
.any commands re#uire that you execute them from an elevated Command $rompt in /indows - in other words, execute them from a Command $rompt that's run as an administrator. 'ou can always ri!ht-click on any Command $rompt shortcut and choose Run as administrator but creatin! a shortcut to do the same thin! can be a hu!e time saver if you're a fre#uent Command $rompt power user. )o complete this Command $rompt trick, ust create a Command $rompt shortcut on the desktop, enter the shortcut's properties and then select the Run as administrator box located in the Advanced button on theShortcut tab. *. +e(ome a Command Prom't Power User wit, -un(tion .e)s
)he fact that the function keys actually do somethin! in the Command $rompt is maybe one of the best kept secrets about the tool: -1: $astes the last executed command 0character by character1 -2: $astes the last executed command 0up to the entered character1 -&: $astes the last executed command -*: 2eletes current prompt text up to the entered character -/: $astes recently executed commands 0does not cycle1 -0: $astes 34 to the prompt -1: 2isplays a selectable list of previously executed commands -2: $astes recently executed commands 0cycles1 -3: 5sks for the number of the command from the *- list to paste Command $rompt )rick ,6- is full of arrow key shortcuts, a few of which are similar to these function key tricks. /. 4a(5 t,e Prom't "e6t
2id you know that the prompt itself in the Command $rompt is completely customi7able thanks to the prompt command& It is, and when I say customi7able, I mean really customi7able. Instead of C:78, you can set the prompt to any text you want, have it include the time, the current drive, the /indows version number, you name it. (ne useful example is 'rom't 9m9'9g which will show the full path of a mapped drive in the prompt, alon!side the drive letter. 'ou can always execute 'rom't alone, without options, to return it to its sometimes borin! default. 0. :et 4el' ;or An) Command
8elieve it or not, the help command does not provide help for every Command $rompt command. "owever, any command can be suffixed with the #< option, usually called the help switch, to display detailed information about the command's syntax and often times even some examples. I doubt that the help switch is the coolest Command $rompt trick you've ever heard of, but it's hard to disa!ree that it's one of the more useful. 9nfortunately, neither the help command nor the help switch offer much in the way of explainin! how to interpret the syntax. +ee "ow )o :ead Command +yntax if you need help with that. 1. =a>e a Command's Out'ut to a -ile
5n incredibly useful Command $rompt trick is the use of redirection operators, specifically the 8 and 88 operators. )hese little characters let you redirect the output of a command to a file, !ivin! you a saved version of whatever data the command produced in the Command $rompt window. ;et's say you're about to post a computer problem to an online forum, like my computer support forum for example, and you want to provide really accurate information about your computer. 5n easy way to do that would be to use the systeminfo command with a redirection operator. *or example, you mi!ht execute s)stemin;o 8 (:7m)(om'uterin;o.t6t to save the information provided by the systeminfo command to a file. 'ou could then attach the file to your forum post. +ee "ow )o :edirect Command (utput to a *ile for more examples and a better explanation of how to use redirection operators. 2. View ?our 4ard @ri>e's Antire @ire(tor) =tru(ture
I think one of the neatest little commands is the tree command. /ith tree, you can create a kind of map of your computer's directories. %xecute tree from any directory to see the folder structure under that directory. "i': /ith so much information, it's probably a !ood idea to export the results of the tree command to a file. *or example, tree #a 8 (:7treeresults.t6t, ust as explained in Command $rompt )rick ,-. 3. CustomiBe t,e Command Prom't "itle +ar "e6t
)ired of that Command Prompt title bar text& <o problem, ust use the title command to chan!e it to whatever you like. *or example, let's say your name is .aria +mith, and you want to express your ownership of the Command $rompt: execute title Pro'ert) o; %aria =mit, and the Command $rompt's title bar will chan!e immediately. )he chan!e won't stick, so the next time you open Command $rompt the title bar will be back to normal. )he title command is usually used to help !ive a custom appearance in script files and batch files... not that I'm sayin! titlin! it with your name isn't a !ood idea= 1C. Co') -rom t,e Command Prom't
5s you may or may not know, copyin! from the Command $rompt is not as easy as copyin! from other pro!rams, which is part of the reason why savin! a command's output to a file, Command $rompt )rick ,-, is so handy. 8ut what if you do ust want to copy a short section of text to the clipboard& It's not too hard but it's not very intuitive either. Right-click anywhere in the Command $rompt window and choose %ar5. <ow, hi!hli!ht with your left mouse button whatever you'd like to copy. (nce your selection is made, press Anter. <ow you can paste that information into whatever pro!ram you'd like. Pre>ious
1 2 De6t
If you've ever worked in the Command $rompt for very lon!, you know that it can be really frustratin! executin! the cd>chdir command over and over a!ain to !et to the ri!ht directory you want to work from. ;uckily, there's a super easy Command $rompt trick that will let you open a Command $rompt window from whatever folder you're viewin! in /indows. 5ll you have to do is navi!ate, in /indows, to the folder you want to start workin! from in the Command $rompt. (nce there, hold down yourShift key while you right-click anywhere in the folder. (nce the menu pops up, you'll notice an entry that's not usually there: O'en (ommand window ,ere. Click it and you'll start a new instance of the Command $rompt, ready and waitin! at the ri!ht location= If you're a Command $rompt power user, you'll immediately reco!ni7e the value in this little trick. 12. @rag and @ro' -or Aas) Pat, Dame Antr)
.ost Command $rompt commands re#uire you, or have options, to specify full paths to files or folders but typin! out a lon! path can be frustratin!, especially when you miss a character and have to start over. *or example, in /indows -, the path to the Accessories !roup in my +tart .enu isC:7Users7"im7A''@ata7Roaming7%i(roso;t7Windows7=tart %enu7Programs7A((essories . /ho wants to type that all in manually& <ot me. ;uckily there's a Command $rompt trick that makes this much easier: dra! and drop.
Just navi!ate to the folder you want the path for in /indows %xplorer. (nce there, dra! the folder or file to the Command $rompt window and let !o. ;ike ma!ic, the full path is inserted, savin! you a considerable amount of typin! dependin! on the len!th and complexity of the path name. Dote: 9nfortunately, the dra! and drop feature does not work in an elevated Command $rompt. 1&. =,ut @own or Restart Anot,er Com'uter
+ystem administrators in a business environment do this all the time for lots of reasons, but you can also shut down or restart another computer on your network, all from your computer's Command $rompt. )he easiest way to shut down a computer remotely is to execute s,utdown #i from the Command $rompt which will open the :emote +hutdown 2ialo!, shown here. Just enter the name of the remote computer 0which you can !et by runnin! the hostname command on the other $C1, choose what you want to do 0restart or shutdown1, select some other options and then click (?. +o whether you're brushin! up on your command skills or ust scarin! a family member, this Command $rompt trick is a fun one. 'ou can also shut down or restart another computer strictly from the Command $rompt with the shutdown command, without usin! the :emote +hutdown 2ialo!. 1*. Use Robo(o') as a +a(5u' =olution
)hanks to the robocopy command, you don't need to use /indow's backup software or install a third party pro!ram to mana!e your backups. Just execute robo(o') (:7users7tim7do(uments ;:7ba(5u'7do(uments #(o')all #e #r:C #d(o'):t #mir , obviously replacin! the source and destination folders with whatever you'd like to backup and where. )he robocopy command with these options functions identically to an incremental backup software tool, keepin! both locations in sync. 'ou don't have the robocopy command if you're usin! /indows @$ or earlier. "owever, you do have the xcopy command, which can be used to do somethin! very similar: 6(o') (:7users7tim7do(uments ;:7ba(5u'7do(uments #( #d #e #, #i #5 #E #r #s #6 #). <o matter which command you choose to use, ust create a script file containin! the command and schedule it to run in )ask +cheduler and you'll have your own custom made backup solution.
I've chosen to use the robocopy command on my personal computers as my only local backup solution because I like the level of control it !ives me. "opefully you take that as a vote of confidence in this incredibly useful Command $rompt trick. 1/. View ?our Com'uter's Fm'ortant Detwor5 Fn;ormation
.aybe ust for your own information, but certainly when you're troubleshootin! a network or Internet problem, you'll probably at some point need to know details about your computer's network connection. %verythin! you'd want to know about your network connection is available somewhere in the Control $anel in /indows, but it's much easier to find, and much better or!ani7ed, in the results from the ipconfi! command. (pen Command $rompt and execute i'(on;ig #all. /hat displays on screen next is everythin! important about your network connection: your I$ address, hostname, 2"C$ server, 2<+ information, and much, much more. Combine this hack with Command $rompt )rick ,- and you've !ot a very easy way to !et information about your connection to someone helpin! you with a problem. 10. %a' a o(al -older Gust i5e a Detwor5 @ri>e
)he net use command is used to assi!n shared drives on a network to your own computer as a drive letter, but did you know there's another command that can be used to do the same thin! to any folder on any of your local hard drives& )here is and it's called the subst command. Just execute the subst command, followed by the path of the folder you wish to appear as a drive. *or example, let's say you want your C:\Windows\ onts folder to appear as the !: drive. Just execute subst E: (:7windows7;onts and you're set= )his Command $rompt trick makes accessin! a particular location from the Command $rompt much easier. 11. A((ess Pre>iousl) Used Command wit, t,e Arrow .e)s
5nother !reat Command $rompt trick has to be the use of the keyboard arrow keys to cycle throu!h previously executed commands. )he up and down arrow keys cycle throu!h the commands you've entered and the ri!ht arrow automatically enters, character by character, the last command you executed.
)his mi!ht not sound that interestin!, but there are several situations where the arrow keys become hu!e time savers. Consider this example: 'ou've typed out -A characters of a command and then try to execute it, only to find that you for!ot to add an option at the very end. <o problem, ust hit the up arrow and the entire command is automatically entered in the Command $rompt window, ready for you to edit to make it work. 12. Automati(all) Com'lete Commands wit, "ab Com'letion
)ab completion is another Command $rompt trick that can save you lots of time, especially if your command has a file or folder name in it that you're not completely sure of. )o use tab completion in the Command $rompt, ust enter the command and then the portion of the path that you do know, if at all. )hen press the tab key over and over to cycle throu!h all of the available possibilities. *or example, let's say you want to chan!e directories to some folder in the Windows directory but you're not sure what it's named. )ype (d (:7windows7 and then press tab until you see the folder you're lookin! for. )he results cycle or you can use +hiftB)ab to step throu!h the results in reverse. 13. -ind a Website's FP Address
;ike to know the I$ address of a website& )here are a few different commands you can use to find it. ;et's use the nslookup command to find the I$ address of 5bout.com. Just execute nsloo5u' about.(om and view the result. .ake sure you don't confuse any private I$ addresses that also show up in the nslookup results alon!side 5bout.com's public I$ address. 5nother way to find a site's I$ address is to use the pin! command. %xecute 'ing about.(om and then look at the I$ address between the brackets in the results shown. 9sin! either Command $rompt trick, the result is 2C1.2*1.1*2.2C. 2C. Co') H Paste Aasier wit, Iui(5Adit %ode
"ow about an even easier way to copy from the Command $rompt& 5nd a secret way to easily paste& Just right-click on the Command $rompt title bar and select Pro'erties. (n the "ptions tab, in the #dit "ptions section, check the Iui(5Adit %ode box and then click O.. %nablin! Cuick%dit .ode is like havin! $ark enabled all the time so selectin! text to copy is really easy. 8ut it also enables an easy way to paste into the Command $rompt: ust ri!ht click once and whatever is in the clipboard is pasted in the Command $rompt window. <ormally, pastin! involves right-clicking and selectin! Paste. 21. Wat(, =tar Wars A'isode FV
'es, you read that correctly, you can watch an 5+CII version of the full +tar /ars %pisode ID movie right in the Command Prompt window= Just open Command $rompt and execute telnet towel.blin5enlig,ts.nl. )he movie will start immediately. )his isn't a terribly productive use of the Command $rompt, nor is it really a trick of the Command $rompt or any command, but it sure is fun= Dote: )he telnet command is not enabled by default in /indows - or /indows Dista but can be turned on by enablin! %elnet Client from /indows *eatures in the $ro!rams and *eatures applet in Control $anel. If you'd rather not enable )elnet but would like to see the movie, you can also watch it in your browser here.
advertisements
menjalankan / command sekaligus kamu dapat melakukannya dengan cara seperti ini: "command*spasi+,,*spasi+command"#tanpa tanda petik$
Bahkan dengan cara ini kamu dapat melakukan banyak command sekaligus
1alo, teman-teman imam22, kali ini kita akan bahas sesuatu yang dasar, yaitu tentang penggunaan attribe atau attribute pada command promt, 3ttrib ber%ungsi untuk melihat atau untuk merubah atribut
pada %ile atau pada %older &ntuk melihat %ungsi attrib ketikkan pada command prompt "attrib4)5 #tanpa tanda petik$, seperti berikut
.eterangan: + tanda 6 ber%ungsi untuk memberikan atribut pada %ile maupun pada %older 3tribut yang bisa dipasang adalah: 7#%ile read-only$ 3#%ile archi8e$ S#%ile system4superhidden$ 1#%ile hidden$
/ sedangkan tanda 9 ber%ungsi kebalikannya, yaitu untuk menghilangkan atribut pada %ile maupun %older : tanda 4s ber%ungsi memberikan attribute pada %ile #hanya pada atribut %ile saja$ yang berada pada direktori tersebut atau pada sub direktori yang ada di bawahnya 4 sedangkan tanda 4d ber%ungsi memberikan attribute pada %ile maupun %older yang berada pada direktori tersebut atau pada sub direktori yang ada di bawahnya Contoh: &ntuk melihat attribute %ile pada dri8e ;, langsung saja ketikkan perintah "attrib5
<ile "shinobi5 memiliki atribut archi8e, hidden dan superhidden4system Sedangkan %ile yang lainnya hanya mempunyai atribut archi8e saja &ntuk menambahkan atribut superhidden pada %ile "ilmu =ip5 maka ketikkan perintah berikut pada cmd
<ile "ilmu =ip5 sekarang bertambah atribut menjadi superhidden Sedangkan untuk mengembalikan lagi attribute %ile "ilmu =ip5 seperti semula ketikkan perintah berikut
3ttribute %ile "ilmu =ip5 kembali seperti semula Sedangkan untuk melihat atribut %ile pada sub%older yang ada dibawahnya perlu adanya tambahan perintah 4s dan 4d
*isal kita ingin melihat atribut %ile yang terdapat pada direktori "coba5 dan pada sub-sub direktorinya, maka ketikkan perintah berikut
>isini kita bisa melihat hasilnya bahwa %ile "adab-ikhtila% =ip5 memiliki atribut %ile archi8e Sedangkan %ile "adabmajelis =ip5 yang berada di dalam %older "pri8at5 memiliki atribut hidden &ntuk melihat atribut %older perlu adanya tambahan perintah 4d, sehingga perintahnya seperti berikut
1asilnya terlihat bahwa %older "pri8at5 memiliki atribut hidden &ntuk merubah keseluruhan %ile baik pada direktori "latihan5 maupun pada sub direktori yang ada dibawahnya menjadi ber-atribut superhidden, dapat menggunakan kombinasi perintah seperti berikut
1asilnya semua %ile menjadi beratribut superhidden ?B: @erlu diketahui bahwa penggunaan parameter 4d harus diikuti dengan parameter 4s jika tidak maka perintah tidak bisa dijalankan
Berikut beberapa command yang ada : Pindah nama disk #dri8e$: disk dri!e"
Contoh
Maksud
E:
Pindah ke drive E
Melihat >(7
isi
disk
dri!e"#
dan
folder
Maksud Melihat isi disk (dirve) atau folder aktif Melihat data tersembunyi Melihat semua data (termasuk yang tersembunyi) Melihat dengan nama file/folder yang disingkat Melihat semua data dengan nama singkat
ke
dalam
folder
direktori"
$ampilan %ttribut file&folder 3!!7(B spasi jenis 9h #tidak sembunyikan 6h #sembunyikan alias data$ -enis3ttribut alias menampilkan spasi data yang ?ama<ile<older attribut tersembunyi$
Maksud menampilkan nama folder $ord yang tadinya tersembunyi menampilkan folder $ord yang merupakan sub folder dari folder sapta pada drive d
(ayar )older
)ile
Maksud Menyalin file dengan nama 'sapta)*pg( men*adi bakti)*pg Menyalin +sapta)do!x+ ke drive d:
beserta
isinya"
Maksud Menyalin folder saptabakti beserta isinya dengan nama 'kampusku( (dengan komfirmasi 'D() Menyalin folder proposal beserta isinya yang berada pada drive , dengan nama hasil 'probaru( pada drive C (tanpa komfirmasi)
)ile
Maksud Menghapus file sapta)*pg Menghapus file antu)do!x yang ada pada drive f
koneksi
jaringan
Maksud Periksa hubungan *aringan ke 0omputer saptaPC-./ Periksa hubungan *aringan speedy
?ormal D %alse %alse %alse ;?-&S C-?'?; C-?'?; + Pindah nama disk #dri8e$: disk dri!e"
Contoh E:
/ Melihat >(7
isi
disk
dri!e"#
dan
folder
Maksud Melihat isi disk (dirve) atau folder aktif Melihat data tersembunyi Melihat semua data (termasuk yang tersembunyi) Melihat dengan nama file/folder yang disingkat Melihat semua data dengan nama singkat
dalam
folder
direktori"
4.$ampilan %ttribut file&folder 3!!7(B spasi jenis 9h #tidak sembunyikan 6h #sembunyikan alias data$ -enis3ttribut alias menampilkan spasi data yang ?ama<ile<older attribut tersembunyi$
Maksud menampilkan nama folder $ord yang tadinya tersembunyi menampilkan folder $ord yang merupakan sub folder
(ayar )older
beserta
isinya"
Maksud Menyalin folder saptabakti beserta isinya dengan nama 'kampusku( (dengan komfirmasi 'D() Menyalin folder proposal beserta isinya yang berada pada drive , dengan nama hasil 'probaru( pada drive C (tanpa komfirmasi)
koneksi
jaringan
Maksud Periksa hubungan *aringan ke 0omputer saptaPC-./ Periksa hubungan *aringan speedy
Semoga <ungsi attrib pada tutorial command promt kali ini bisa di mengerti :$
Perintah Command Prompt +ntuk *aringan ,omputer. Berikut adalah perintah-perintah pada Command @rompt yang berhubungan dengan jaringan komputer &ntuk melakukan perintah-perintah tersebut 3nda harus masuk ke Command @rompt # .lik Start -G7un -G.etik C*> $ 1. ipconfig &all *enampilkan in%ormasi kon%igurasi koneksi, misalnya 1ost ?ame, @rimary >?S !ype, ;thernet 3dapter A3?
2. ipconfig *enghapus >?S Cache 3. ipconfig "*enghapus5 semua koneksi (@ 3ddress 4. ipconfig *embuat (@ 3ddress baru untuk adapter tertentu .. ipconfig *enampilkan >?S Cache /. ipconfig *elakukan re%resh >?S dan meregister kembali koneksi >?S 0. ipconfig *enampilkan in%ormasi >1C@ Class 1. ipconfig *engubah >1C@ Class (> 2. control *enampilkan ?etwork Connection 13. *engetahui alamat ip address dari nama domain yang di tuliskan 11. *enampilkan in%ormasi koneksi !C@4(@ yang sedang akti% 12. *enampilkan local route 13. *enampilkan nama komputer 14. Contoh: ping *elakukan test koneksi ke Semakin sedikit H loss-nya maka semakin baik koneksinya
&flushdns &release &rene&displaydns ®isterdns &sho-classid &setclassid netconnections nslookup netstat route hostname ping www %inderonly com www %inderonly com
situs
utorial serta cara dan panduan bagimana trik-!rik serta kumpulan cara *enyembunyikan <ile >engan Bantuan Command @rompt dan Win737
Setiap pengguna komputer pastinya mempunyai file-file yang sifatnya personal dan rahasia. Jangan sampai orang lain tahu tentang dokumen tersebut, seperti kumpulan passwordpassword berbagai akun, atau konten-konten yang sifatnya rahasia lainnya.
WWW.SERVERINDONESIA.WEB.ID Pusat pembuatan website termurah, toko online hanya mulai 275rb (selama diskon tersedia, sudah termasuk domain dan hosting dan asa designnya!. kami uga ahli dalam reparasi laptop gagal ser"is. kontak order@ serverindonesia.web.id
Sebenarnya, telah banyak dibahas tentang #ara untuk menyembunyikan file-file komputer. $ari yang menyembunyikan dengan bantuan software, ataupun dengan pemberian atribut hidden, atau superhidden dengan bantuan #ommand Prompt. %ntuk kasus menggunakan #ommand prompt, maka sepertinya #ara itu masih terlalu mudah untuk ditelan angi. &alau kompie disetting untuk '$on(t show hidden files, )olders, and $ri"es*, memang tidak akan bisa terlihat file tersebut.
+api dengan beberapa langkah mudah, file yang disembunyikan akan langsung terlihat. +ak usah saya tuliskan langkahnya karena saya yakin kamu semua sudah tau #aranya. ,ah, sekarang kita akan #oba menyembunyikan file yang sedikit berbeda dengan - %ntuk melakukannya, kamu harus persiapkan sebuah software #ompression file bernama .in/0/. &alau belum punya, ya musti download dulu di sini. 1ara yang akan kita lakukan ini adalah dengan memasukkan satu file(yang disembunyikan!, ke dalam file lain. 2k guys, let(s start our ob now 333 4. Persiapkan dua buah file, dan simpan dalam satu direktory5satu folder penyimpanan. Pada #ontoh kali ini saya akan menyembunyikan satu file bernama 'passwords.t6t* ke dalam file '0,789.JP7* . $an direktory penyimpanannya adalah 8:;se#urity
2. selan utnya, masuk ke folder yang filenya akan disembunyikan. &ompres dengan .in/0/,file yang akan disembunyikan (passwords pada tutorial ini! yaitu dengan klik kanan file tersebut kemudian klik 0dd to ar#hi"ePada 0r#hi"e )ormat pilih /0/, dan klik 2&. maka terbentuklan satu file lagi bernama passwords.rar.
<. Sekarang kita buka 1ommand Prompt. =isa dengan klik .indows>/ (run!, ketikkan 1?$ lalu enter. &etikkan letak dari direktorinya, untuk milik saya yaitu 8: (lalu tekan 8nter! 1$ S81%/@+A (tekan enter! lalu ketik 12PA 5= 0,789.JP7 > P0SS.2/$S./0/ 0,7892.JP7 %rutannya seperti terlihat berikut ini :
berarti sudah berhasil diproses. $an file-file selain 0,7892.JP7 dapat dihapus. Selan utnya, untuk membukanya, maka #arannya adalah : - =uka .in/0/ - klik open ar#hi"e- open file yang men adi tempat persembunyian tadi. dalam hal ini filenya bernama 0,7892.JP7. -maka disana akan terlihat file bernama 'Password.t6t*. $an tinggal kamu e6tra#t untuk melihatnya.
2key, sekian tips dari saya. Jangan lupa kasih komentar yah
*isalkan
kita
ingin mengunci
folder yang
bernama
C'?!'1
yang
ada
pada
dri8e8<=P45>%?5=C76$7H
@ertama yang harus dilakukan yaitu buka command prompt klik start @ 4un @ ketikan cmd
&ntuk mengunci %older kita akan menggunakan perintah C%C(? yang ada pada command prompt
.eterangan :
: %ungsinya untuk melihat data yang ada di dalam sebuar direktori atau %older : %ungsinya untuk mengubah %ile permission : adalah nama komputer name pada pc kita
Sesuaikan @ath %older4%ile serta nama %older4%ile yang ingin kita kunci pada saat kita mengetikan perintah diatas
-ika berhasil maka %older C'?!'1 dapat diakses kembali &ntuk mengetajhui attribute dari perintah C3CAS silahkan ketikan C%C(? &A pada jendela command promt
Perintah command prompt yang disediakan mulai -ind-s 2C sampai -indo-s 0 pun semakin bertambah#
mulai dari yang sederhana sampai perintah kompleks untuk administrator dalam mengatasi dan menganalisa berbagai masalah. 'erikut beberapa perintah dasar command prompt yang sebaiknya kita ketahui karena cukup bermanfaat. +ntuk menjalankan command prompt# bisa melalui start Menu %ll Programs" @ %ccessories kemudian pilih Command Prompt. ?elain itu bisa juga dengan cara yang lebih cepat melalui menu 4+6 di start menu ketikkan CM8 dan tekan enter.
854
Perintah ini untuk menampilkan daftar file dan directory di lokasi folder yang sedang di akses di command prompt. +ntuk menampilkan file dan folder yang tersembunyi# tambahkan opsi atau parameter &% setelah perintah 854. Pastikan sebelum garis miring ada spasi# contohnya
DIR /A
+ntuk mengetahui parameter atau opsi lainnya# silahkan ketikkan 854 &A
C8 atau CH854
Perintah ini berguna untuk berpindah directory. C8 dan CH854 mempunyai fitur hampir sama# hanya saja untuk CH854 kita bisa menuliskan lokasi folder atau file yang ada spasinya tanpa tanda petik dua. 'erikut beberapa contoh perintah dan fungsinya <
CD D:untuk berpindah ke dri!e 8< CD..untuk berpindah ke directory diatasnya CD\atauCD/untuk berpindah ke root directory untuk -indo-s 0&>ista". Misalnya di command
prompt kita ada di C<=+ser=%ku@# untuk berpindah ke C<# kita bisa mengetikkan C8.. sebanyak 2 kali. (ebih singkatnya kita bisa mengetikkan C8&
?elain penggunaan seperti itu# kita juga bisa memanfaatkan fitur autocomplete nama file atau folder. ?etelah mengetikkan C8 kemudian di ikuti spasi dan huruf tertentu# bisa kita tekan tombol $ab bisa berkaliDkali" untuk mendapatkan fitur auto complete nama folder atau file.
5PC76)5:
?angat bermanfaat dalam hal koneksi internet atau jaringan. 8engan mengetikkan perintah 5PC76)5: kemudian di tekan enter# akan ditampilkan alamat 5P komputer kita dengan beberapa informasi tambahan seperti :ate-ay# ?ubnetMask dan lainnya. +ntuk informasi lebih lengkap kita bisa mengetikkanIPCONFIG /ALL. $ambahan &%(( tersebut merupakan options atau parameter. ?elain &%((# terdapat beberapa parameter lainnya yang cukup bermanfaat. +ntuk daftar parameter selengkapnya# silahkan ketikkanIPCONFIG /?
P56:
?eringkali ketika internet atau jaringan tidak bisa terkoneksi. +ntuk mengetest koneksi internet atau jaringan# kita bisa menggunakan perintah P56: dan di ikuti nama -ebsite atau alamat 5P yang dituju. Misalnya sebagai berikut<
*ika hasilnya 4eply fromE.# maka koneksi jaringan atau internet bisa dikatakan 7,# tetapi jika muncul tampilan 4eFuest time out# ada beberapa kemungkinan# seperti tidak ada koneksi# kabel atau jaringan bermasalah atau alamat yang dituju tidak ada atau tidak ditemukan dan lainnya.
%$$45'
>irus atau -orm yang menyerang komputer biasanya menyembunyikan file atau folder yang ada di komputer atau flashdisk. *ika hal ini terjadi# kita bisa menggunakan perintah %$$45' untuk menampilkan file tersebut termasuk untuk menyembunyikan fileDfilenya". Perintah berikut akan menampilkan semua file dan folder yang ada di folder yang sedang di akses di command prompt.
ATTRI
/?#PING /?. ?etiap menambahkan parameter# sebelum tanda garis miring &"
'erikut ini list perintahDperintah CM8 lain yang sering di gunakan pada jaringan komputer< 1. ipconfig &all
*enampilkan in%ormasi kon%igurasi koneksi, misalnya 1ost ?ame, @rimary >?S !ype, ;thernet 3dapter A3?
2. ipconfig &flushdns *enghapus >?S Cache 3. ipconfig &release "*enghapus5 semua koneksi (@ 3ddress 4. ipconfig &rene*embuat (@ 3ddress baru untuk adapter tertentu .. ipconfig &displaydns *enampilkan >?S Cache /. ipconfig ®isterdns *elakukan re%resh >?S dan meregister kembali koneksi >?S 0. ipconfig &sho-classid *enampilkan in%ormasi >1C@ Class 1. ipconfig &setclassid *engubah >1C@ Class (> 2. control netconnections *enampilkan ?etwork Connection 13. nslookup *engetahui alamat ip address dari nama domain yang di tuliskan 11. netstat *enampilkan in%ormasi koneksi !C@4(@ yang sedang akti% 12. route *enampilkan local route 13. hostname *enampilkan nama komputer 14. ping Contoh: ping cookies web id *elakukan test koneksi ke situs cookies web id Semakin sedikit H loss-nya maka semakin baik koneksinya 1.. tracert *enampilkan in%ormasi (@ 3ddress route
'erikut diba-ah ini merupakan daftar perintahDperintah yang ada pada command prompt dari %DJ <
a %88+?94? < $ambah daftar pengguna untuk & dari file C?> %4P < %ddress 4esolution Protocol %ssoc < +bah ekstensi file asosiasi %??7C5%$ < ?alah satu langkah asosiasi file %ttrib < +bah atribut berkas b 'ootcfg < 9dit Bindo-s boot settings '47B?$%$ < 8apatkan domain# info bro-ser dan P8C c C%C(? < +bah file permissions C%(( < Panggil satu program batch yang lain C8 < Mengganti 8irectory K pindah ke )older tertentu Change < :anti $erminal ?er!er ?ession properties CH,8?, < Check 8isk K memeriksa dan memperbaiki masalah disk CH,6$)? < Periksa sistem file 6$)? CH75C9 < Menerima input keyboard ke sebuah file batch C5PH94 < 9ncrypt atau 8ecrypt file & folder CleanMgr < 7totmatis membersihkan $emperatur file# recycle bin C(9%4M9M < Hapus kebocoran memori C(5P < ?alin ?$856 ke Bindo-s clipboard. C(? < Menghapus layar Clear $he ?creen" C(+?$94 < Bindo-s Clustering CM8 < ?tart a ne- CM8 shell C7(74 < Mengubah -arna dari jendela CM8 C7MP < Membandingkan isi dari dua file atau set file C7MP%C$ < Compress file atau folder pada partisi 6$)? Compress < Compress tunggal file pada partisi 6$)? C762P4$ < Menghubungkan atau memutuskan sambungan dengan Printer C76>94$ < ,on!ersi )%$ ke dri!e 6$)?
C7PL < Menyalin satu atau lebih file ke lokasi lain C?Ccmd < clienDside caching 7ffline )iles" C?>89 < 5mpor atau 9kspor %cti!e 8irectory data d 8%$9 < 8isplay atau mengatur tanggal 8efrag < 8efragment hard dri!e 89( < Menghapus satu atau lebih file 89(P47) < Hapus profil pengguna 6$ 89($499 < Menghapus folder dan semua subfolder 8e!Con < 8e!ice Manager Command (ine +tility 854 < Menampilkan daftar file dan folder 854+?9 < $ampilkan penggunaan disk 85?,C7MP < 'andingkan isi dua floppy disk 8iskcopy < ?alin isi dari satu disket ke yang lain 85?,P%4$ < 8isk %dministrasi 86??$%$ < 86? ?tatistik 87?,9L < 9dit baris perintah# ingat perintah# dan membuat macro 8?%88 < $ambah +ser komputer# group .." ke direktori aktif 8?M+94L < 8aftar item dalam direktori aktif 8?M78 < +bah user computer# group .." di direktori aktif 8?4M < Hapus item dari %cti!e 8irectory e 9CH7 < Menampilkan pesan di layar 968(7C%( < %khir localisation perubahan lingkungan dalam file batch 94%?9 < Menghapus satu atau lebih file 9>96$C49%$9 < $ambahkan pesan ke Bindo-s e!ent log 9J5$ < ,eluar dari skrip arus & rutin dan menetapkan errorle!el 9JP%68 < uncompress file 9kstrak < uncompress file C%' f )C < 'andingkan dua file )568 < Mencari string teks dalam sebuah file )568?$4 < Cari string dalam file
)74 & ) < pengulangan perintah terhadap satu set file )74 & ) < pengulangan perintah terhadap hasil perintah lain )74 < pengulangan perintah terhadap semua options )iles# 8irectory# (ist )74)5(9? < Proses 'atch beberapa file )74M%$ < )ormat disk )49985?, < Periksa free disk space&disk yang tersisa dalam bytes" )?+$5( < )ile dan >olume utilitas )$P < )ile $ransfer Protocol )$LP9 < $ampilkan atau memodifikasi jenis file yang digunakan dalam asosiasi ekstensi file g :(7'%( < 8isplay keanggotaan kelompok global :7$7 < 8irect a batch program untuk melompat ke baris berlabel :P+P8%$9 < +pdate pengaturan ,ebijakan :rup h H9(P < 7nline Help i 5C%C(? < +bah file dan folder permissions 5) < kondisional melakukan perintah 5)M9M'94 < %pakah pengguna saat ini dalam sebuah 6$ Borkgroup 5PC76)5: < Configure 5P k ,5(( < 4emo!e program dari memori l (%'9( < 9dit disk label (7C%( < 8isplay keanggotaan kelompokDkelompok lokal (7:9>96$ < Menulis teks ke 6$ e!ent !ie-er (ogoff < user log off (7:$5M9 < log tanggal dan -aktu dalam file m M%P5?968 < ,irim email dari baris perintah M'?%cli < 'aseline ?ecurity %nalyNer M9M < 8isplay penggunaan memori M8 < 'uat folder baru
M,(56, < 'uat link simbolik linkd" M789 < Mengkonfigurasi perangkat sistem M749 < 8isplay output# satu layar pada satu -aktu M7+6$>7( < mengelola !olume mount point M7>9 < Pindahkan file dari satu folder ke yang lain M7>9+?94 < Pindahkan pengguna dari satu domain ke domain lainnya M?: < mengirim pesan atau message M?59J9C < Microsoft Bindo-s 5nstaller M?56)7 < Bindo-s 6$ diagnostics M?$?C < $erminal ?er!er Connection 4emote 8esktop Protocol" M+6:9 < Cari dan :anti teks dalam file s" M> < Copy inDmenggunakan file n 69$ < ,elola sumber daya jaringan 69$87M < 8omain Manager 6etsh < Configure 6et-ork 5nterfaces# Bindo-s )ire-all O 4emote akses 69$?>C < CommandDline ?er!ice Controller 6'$?$%$ < $ampilkan statistik jaringan 6et'57? o!er $CP & 5P" 69$?$%$ < 8isplay net-orking statistics $CP & 5P" 67B < $ampilan saat ini $anggal dan Baktu 6?(77,+P < 6ama ser!er lookup 6$'%C,+P < 'ackup folder ke tape 6$45:H$? < 9dit hak user account p P%$H < Menampilkan atau menetapkan path pencarian untuk file eCecutable P%$HP56: < jejak jalur jaringan ditambah paket latensi dan kerugian P%+?9 < memenjarakan suspend" pengolahan file batch dan menampilkan pesan perms < $ampilkan iNin untuk pengguna P94)M76 < ,inerja Monitor P56: < Menguji koneksi jaringan P7P8 < Mengembalikan nilai sebelumnya dari direktori sekarang yang disimpan oleh P+?H8 P74$M4L < $ampilan status ports dan ser!ices Po-ercfg < Mengkonfigurasi pengaturan daya
P456$ < Mencetak file teks P46C6): < 8isplay# mengkonfigurasi atau mengubah nama printer P46M6:4 < $ambah# menghapus# daftar printer menetapkan printer default P47MP$ < Mengubah command prompt Ps9Cec < Proses 9Cecute jarak jauh Ps)ile < menampilkan file dibuka dari jarak jauh remote" Ps:et?id < Menampilkan ?58 sebuah komputer atau pengguna Ps5nfo < 8aftar informasi tentang sistem Ps,ill < proses mematikan berdasarkan nama atau 58 proses Ps(ist < 8aftar informasi rinci tentang prosesDproses Ps(ogged7n < siapa saja yang log on lokal atau melalui resource sharing" Ps(og(ist < catatan kejadian log PsPass-d < +bah sandi account Ps?er!ice < Melihat dan mengatur layanan Ps?hutdo-n < ?hutdo-n atau reboot komputer Ps?uspend < proses ?uspend P+?H8 < ?impan dan kemudian mengubah direktori sekarang F M:49P < Cari file s" untuk baris yang cocok dengan pola tertentu r 4%?85%( < Mengelola koneksi 4%? 4%?PH769 < Mengelola koneksi 4%? 4eco!er < perbaikan file yang rusak dari disk yang rusak 49: < 4egistry P 4ead# ?et# 9Cport# Hapus kunci dan nilaiDnilai 49:985$ < 5mpor atau ekspor pengaturan registry 4egs!r32 < 4egister atau unregister sebuah 8(( 49:565 < +bah 4egistry Permissions 49M < 4ecord comments komentar" di sebuah file batch 496 < Mengubah nama file atau file 49P(%C9 < :anti atau memperbarui satu file dengan yang lain 48 < Hapus folder s" 4M$?H%49 < ?hare folder atau printer 4obocopy < Copy )ile dan )older secara sempurna
4+$9 < Memanipulasi tabel routing jaringan 4+6%? < *alankan program di ba-ah account pengguna yang berbeda 4+68((32 < *alankan perintah 8(( add & remo!e print connections" s ?C < Control (ayanan ?CH$%?,? < *ad-al perintah untuk dijalankan pada -aktu tertentu ?C(5?$ < $ampilkan (ayanan 6$ ?9$ < 8isplay# set# atau menghapus !ariabel en!ironment ?9$(7C%( < Pengendalian en!ironment !isibilitas !ariabel ?9$J < ?et !ariabel en!ironment secara permanen ?)C < Pemeriksa 'erkas ?istem ?H%49 < 8aftar atau mengedit file share atau share print ?H5)$ < ?hift posisi digantikan parameter dalam sebuah file batch ?H74$C+$ < jendela 'uat shortcut . (6, file" ?H7B:4P? < 8aftar 6$ Borkgroups seorang pengguna telah bergabung ?H7BM'4? < 8aftar Pengguna yang menjadi anggota dari sebuah Borkgroup ?H+$87B6 < ?hutdo-n komputer ?(99P < $unggu untuk C detik ?(M:4 < ?oft-are (icensing Management >ista&2331" ?776 < *ad-al perintah untuk menjalankan dalam -aktu dekat ?74$ < ?ort input ?$%4$ < memulai sebuah program atau perintah dalam jendela terpisah ?+ < ?-itch +ser ?+'56%C( < 9dit file dan folder Permissions# ,epemilikan dan 8omain ?+'?$ < %ssociate jalan dengan huruf dri!e ?ysteminfo < 8aftar konfigurasi sistem t $%?,(5?$ < 8aftar menjalankan aplikasi dan ser!ices $%?,,5(( < Hapus proses yang berjalan dari memori $5M9 < Menampilkan atau mengatur -aktu sistem $5M97+$ < penundaan pemrosesan dari sebuah batch file $5$(9 < Mengatur judul -indo- untuk sesi cmd.eCe $(5?$ < daftar tugas dengan path lengkap
$7+CH < mengganti file timestamps $racert < $race route ke sebuah remote host $499 < tampilan grafis struktur folder $LP9 < Menampilkan isi dari file teks u +?4?$%$ < 8aftar domain nama pengguna dan terakhir login ! >94 < $ampilkan !ersi informasi >945)L < Pastikan bah-a file sudah disimpan >7( < Menampilkan sebuah label disk BH949 < Menempatkan dan menampilkan file dalam sebuah pohon direktori -H7%M5 < 7utput +ser6ame saat ini dan manajemen domain B5685)) < 'andingkan isi dua file atau set file B56M?8 < ?istem Bindo-s diagnostik B56M?8P < ?istem Bindo-s diagnostik 55 BM5C < Perintah BM5 C JC%C(? < +bah file dan folder permissions JC7PL < Menyalin file dan folder
3da beberapa rahasia dari tools kecil windows bernama "Command @rompt5 atau "C*>5 sebagai berikut : + 1ak Aogin &ser *embatasi user bernama linuxer4E, hanya bisa login pada hari dan jam tertentu - Buka Command @rompt - .etik "net user linuxer4E 4time:*,23*-,@*J!,+@*-:@*JW-<,F:DD-+2:DDK Cat : %ormat hari ditulis dg singkatan *, !, W, !h, <, Sa, Su *embatasi user bernama wahyu hanya bisa login hingga tanggal tertentu - Buka Command @rompt - .etik net user wahyu 4expires:des,D:,/D/D
*embuat user baru bernama homo, password +/:4, hanya bisa login pada hari dan jam tertentu, nama lengkap homo maho - Buka Command @rompt - .etik net user homo +/:4 4add 4passwordreL:yes 4times:monday-%riday,Fam-,pm 4%ullname:5homo maho *elarang user bernama Shincan mengganti passwordnya - Buka Command @rompt - .etik net user shincan 4passwordchg:no *ematikan user bernama Budi - Buka Command @rompt - .etik net user budi 4acti8e:no *enghapus user bernama &nyil - Buka Command @rompt - .etik net user unyil 4delete *engganti komen pada user bernama >ono - Buka Command @rompt - .etik net user dono 4usercomment:5halo, apa kabar)5 *enambah user baru bernama "de8il=cDder5 yg setara dg 3dmin - Buka Command @rompt - .etik net localgroup 3dministrators de8il=cDder 4add / .'?M;7S( <3!4<3!:/ .; ?!<S - Buka Command @rompt - .etik con8ert >: 4%s:nt%s #artinya merubah %ile system pada dri8e >:N menjadi ?!<S$ Cat : - -ika system tidak bisa Aock dri8e, pilih OBesP pada peringatan OCon8ert it during next bootP - .on8ersi dari <3!4<3!:/ ke ?!<S ini tidak bersi%at merusak, sehingga data tidak akan hilang : *;?Q1(A3?Q.3? >7(M; - Buka Command @rompt - .etik mount8ol R>ri8eG 4d #misal mount8ol <: 4d maka >ri8e < akan menghilangS$ - &ntuk mengembalikan ketik mount8ol untuk menampilkan Molume (> dari semua partisi, termasuk >ri8e yang hilang - .etik mount8ol R>ri8eG 44)4MolumeTMolume(>UN #misal mount8ol %: 44)4MolumeTdED4cV42-VFV4-++db-be:4-FDEdE+2/EVE%UN atau - *asuk Command @rompt - .etik diskpart - Setelah masuk >(S.@37!G ketik list 8olume Molume WWW Atr Aabel <s !ype Si=e Status (n%o XXX- X XXX9 X9 XXX- XX- XXX XX9 Molume D ; >M>-7'* D B Molume + C SBS ?!<S @artition +VV QB 1ealthy System Molume / > >3! ?!<S @artition F+2 QB 1ealthy Molume : Q 7emo8eable D B - @ilih Molume yang akan di hilangkan, contoh : >(S.@37!G select 8olume / - 1ilangkan 8olume terpilih, contoh : >(S.@37!G remo8e letter >
- &ntuk menampilkan kembali, contoh : >(S.@37!G assign letter d - &ntuk keluar ketik pd >(S.@37!G exit 4 >;!;.S( @;7&B313? 7;Q(S!7B - Buka Command @rompt - .etik regedit - (mport 7egistry .ey dengan nama 3wal reg - Setelah terjadi banyak perubahan di @C - (mport 7egistry .ey sekarang dengan nama Sekarang reg - !utup 7egedit - .embali ke Command @rompt - .etik %c awal reg sekarang reg G bedanya txt - buka %ile Bedanya txt yg berisi perubahan 7egistry dengan notepad , S(*@3? S!7&.!&7 <'A>;7 Y <(A; - Buka Command @rompt - .etik dir C: 4s G struktur txt - >a%tar seluruh <ile Y <older di C: akan disimpan di %ile teks S!7&.!&7 !C! E ;>(! B''! A'3>;7 C@ - Buka Command @rompt - .etik cdN untuk berada di root directory system - .etik attrib boot ini -r -s -h - .etik edit boot ini Contoh isi %ile boot ini pada dual 'S Windows C@ *andarin Y C@ ;nglish : Zboot loader[ timeout\:D de%ault\multi#D$disk#D$rdisk#D$partition#+$NW(?>'W S Zoperating systems[ multi#D$disk#D$rdisk#D$partition#+$NW(?>'WS\5*icro so%t Windows C@ @ro%essional5 4noexecute\optin 4%astdetect multi#D$disk#D$rdisk#D$partition#/$NW(?>'WS\5*icro so%t Windows C@ @ro%essional5 4noexecute\optin 4%astdetect .eterangan : - !ime'ut : Waktu tunggu sebelum pemilihan 'S dilakukan, dalam satuan detik - >e%ault : @artisi 'S yang akan dipilih sebagai de%ault, sehingga akan dieksekusi saat tidak dilakukan pilihan - *ulti>isk : &rutan pilihan yang tampil saat boot, ubah urutan partisi dan kata didalam 5 5 #tanda petik$ sesuai selera 2 7;C'M;7B C'?S'A; >engan C> (nstaller - *asuk B('S, atur agar %irst boot pada C>4>M> - Selanjutnya serupa dengan proses (nstall Windows - Sampai bagian Welcome to Setup, tekan 7 untuk masuk ke dalam 7eco8ery Console - Setelah masuk, pilih Windows mana yang akan dimasuki melalui 7eco8ery Console #jika ada beberapa Windows ter-install$ dengan memilih angkanya - *asukkan password 3dministrator - -ika password benar, akan muncul prompt C:NWindowsG, 7eco8ery Console siap menerima input Command di 7eco8ery Console - 3ttrib : @erintah untuk mengubah atribut sebuah %ile atau direktori Contoh : )attrib -h c:Ncon%ig sys) artinya, %ile con%ig sys yang berlokasi di direktori root C telah dihilangkan atribut 1idden-nya - Batch : @erintah untuk menjalankan sekumpulan perintah 7eco8ery Console yang ada di sebuah %ile teks Contoh : )batch runme txt postrun txt) artinya, perintah batch akan menjalankan perintah yang sudah ditulis didalam %ile input runme txt, sedangkan %ile postrun txt sendiri akan dibuat secara otomatis sebagai output %ile
- Bootc%g : >ipakai untuk membuat atau memodi%ikasi %ile boot ini Contoh : )bootc%g 4scan) artinya semua harddisk yang akti% akan diperiksa apakah ada Windows-nya - Chdir : @erintah untuk menampilkan huru% dri8e dan %older yang sedang dimasuki, juga untuk mengubah dri8e datau direktori yang ingin dipakai Contoh : )chdir system:/) artinya, lokasi akan berpindah langsung ke direktori System:/ - Chkdsk : @erintah untuk mengidenti%ikasi dan memperbaiki error pada harddisk Contoh : )chkdsk c: 4p) artinya, dri8e C akan diperiksa apakah ada error-nya, sekaligus diperbaiki - Cls : @erintah untuk membersihkan layar dari teks - Copy : @erintah untuk menyalin %ile dari satu lokasi ke lokasi lain Contoh : )copy d:Ni:FENatapi sy] c:Natapi sys) artinya, %ile atapi sy] didalam %older >:Ni:FE akan disalin ke C:N dengan nama atapi sys - >elete : @erintah untuk menghapus sebuah %ile Contoh : )delete c:Natapi sys) artinya, %ile atapi sys pada root dri8e C akan dihapus - >ir : @erintah untuk menampilkan da%tar %ile atau %older pada %older akti%, juga in%ormasi penting lain seperti nomor seri harddisk, jumlah %ile, ukuran serta kapasitas harrdisk Contoh : )dir c:N^ ^ 4p ) artinya, semua yang ada di root C termasuk sub%older akan ditampilkan per halaman - >isable : @erintah untuk men-disable sebuah ser8ice atau dri8er Contoh : )disable imapi) artinya, ser8ice bernama (*3@( C>-Burning C'* Ser8ice akan di-disable &ntuk menampilkan da%tar ser8ice digunakan perintah Aists8c - >iskpart : @erintah untuk membuat atau menghapus partisi pada harddisk Contoh : )diskpart 4add N>e8iceN1ard>iskD +DDD) artinya, pada harddisk primary akan dibuat sebuah partisi baru dengan ukuran +DDD*B Cukup ketik diskpart untuk masuk pada interakti% mode - ;nable : @erintah untuk mengakti%kan ser8ice atau dri8er Contoh : )enable imapi S;7M(C;]3&!']S!37!) artinya, ser8ice imapi diakti%kan dengan jenis startup S;7M(C;]3&!']S!37! - ;xit : @erintah untuk mengakhiri 7eco8ery Console - ;xpand : @erintah untuk mengekstrak %ile dari sebuah %ile terkompresi pada %ile C3B atau _(@ Contoh : )expand d:NcmpnentsNnet%xNi:FENnet%x cab 4%:alink dll c:N) artinya, %ile bernama alink dll dalam %ile terkompresi net%x cab yang ada di >:NcmpnentsNnet%xNi:FE diekstrak ke C:N - <ixboot : @erintah untuk menuliskan boot sector pada partisi yang ditentukan, terutama pada saat boot sector mengalami korup Contoh : )%ixboot c:) artinya, menulis ulang boot sector pada dri8e C - <ixmbr : @erintah untuk menuliskan om Boot 7ecord #*B7$ baru ke harddisk, terutama saat 8irus merusak *B7 sehingga Windows tidak bisa di boot Contoh : )%ixmbr N>e8iceN1arddiskD) artinya, *B7 akan ditulis ulang pada harddisk primary - <ormat : @erintah untuk mem%ormat dri8e yang diingink Contoh : )help %ixmbr) artinya, menampilkan semua in%ormasi tentang perintah <ixmbr - Aists8c : @erintah untuk menampilkan da%tar ser8ice dan dri8er dari Windows yang sedang akti% - Aogon : @erintah untuk mendapat akses ke instan Contoh : )%ormat c: 4L 4%s:?!<S) artinya, dri8e C akan di%ormat menggunakan %ile system ?!<S dengan metode Luick %ormat - 1elp : @erintah untuk menampilkan in%ormasi yg lebih detil tentang semua perintah di 7eco8ery Console alasi Windows yang ditentukan jika terdapat lebih dari satu Windows, saat ingin berpindah dari Windows satu ke lainnya tanpa melalui proses booting - *ap : @erintah untuk menampilkan partisi, huru% dri8e, dan %ile system yang dipakai oleh Windows akti% - *kdir : @erintah untuk membuat %older baru - *ore : @erintah untuk menampilkan isi dari %ile yang bisa dibuka dengan ?otepad seperti !C!, (?(, A'Q, 'A>, 7;Q, B3!, dll Contoh : )more c:NwindowsNsystem ini) artinya, %ile bernama system ini pada direktori C:NWindows akan dilihat isinya - 7ename : @erintah untuk mengubah nama sebuah %ile Contoh : )rename c:NwindowsN%unny log cute log) artinya, %ile bernama %unny log pada direktori C:NWindows diubah menjadi cute log - 7mdir : @erintah untuk menghapus sebuah %older - Set : @erintah untuk mengakti%kan atau me-nonakti%kan empat opsi di 7eco8ery Console yaitu 3llowwildcards,
3llowallpaths, 3llowremo8ablemedia dan ?ocopyprompt - Systemroot : @erintah untuk mengembalikan ke %older systemroot dalam hal ini C:NWindows - !ype : @erintah yang sama %ungsinya dengan perintah *ore Contoh : )type c:Nboot ini) artinya, menampilkan isi %ile boot ini yang ada di direktori C *emperbaiki 4 *engganti <ile Boot ini - *asuk ke 7eco8ery Console - .etik bootc%g 4rebuild pada prompt - .etik )B) pada pertanyaan 3dd installation to boot list) #Bes4?o43ll$) - .etik 8ersi Windows #co: Windows C@ @ro%essional$ yang digunakan pada pertanyaan ;nter Aoad (denti%ier: - .etik 4%astdetect pada pertanyaan ;nter 'S Aoad options: - ;ject C> dan restart @C *erestore ?!A>7 dan ?tdetect com - *asuk ke 7eco8ery Console - .etik copy d:Ni:FENntldr c:N pada prompt - .etik )B) pada pertanyaan '8erwrite - .etik copy d:Ni:FENntdetect com c:N pada prompt - ;ject C> dan restart @C panjang banget F 3.S;S C>-7'* S33! S3<;*'>; - Saat booting tekan <F - @ilih Command @rompt only - .etik win 4d:m V B&3!4;>(! 3&!'7&? (?< - *asuk Command @rompt - .etik edit autorun in% - buat4edit %ile dengan struktur : 1eader, selalu dimulai dengan tulisan ini Zautorun[ (con, ikon de8ice yang tampil di ;xplorer, contoh : icon\doraemon ico icon\Nmy iconNdoraemon ico icon\doraemon exe icon\system dll, / Aabel, nama de8ice yang tampilkan di ;xplorer, contoh : label\>oraemon 3utoplay, aplikasi yang akan dieksekusi, contoh : open\corel exe open\NprogramNcorel exe Context *enu, menu yang ditampilkan saat klik kanan, contoh : shellNaplikasi+Ncommand\programku+ exe shellNaplikasi/Ncommand\aplikasiNprogramku/ exe Miew <ile, membuka %ile saat de8ice diakses, contoh : shellexecute\http:44www google co id shellexecute\NdokumenNreadme txt +D *;*@;7B3(.( B''! (?( - *asukkan C> (nstaller C@ - Booting dgn C> (nstaller C@
- @ada menu *icroso%t Setup tekan 7 untuk masuk 7eco8ery Console - @ilih 'S - *asukkan password 3dmin - Setelah masuk Command @rompt ketik bootc%g 4rebuild - .etik B untuk "3dd installation to boot list) #Bes4?o43ll$5 - .etik "Windows C@ @ro%esional5 atau "Windows C@ 1ome ;dition5 untuk ";nter Aoad (denti%ier5 - .etik 4%astdetect untuk ";nter 'S Aoad options5 - .eluarkan C> (nstaller C@ - .etik exit, lalu restart komputer ++ *;*@;7B3(.( om B''! 7;C'7> *B7 @3>3 W(?>'WS C@ - *asukkan C> (nstaller C@ - Booting dgn C> (nstaller C@ - @ada menu *icroso%t Setup tekan 7 untuk masuk 7eco8ery Console - @ilih 'S yg akan di perbaiki - *asukkan password 3dmin - Setelah masuk Command @rompt ketik %ixmbr - .eluarkan C> (nstaller C@ - .etik exit, lalu restart komputer Cat: tidak boleh digunakan pada dual booting C@ Y Se2en *B7 @3>3 M(S!34S;2;? - *asukkan C> (nstaller Mista4Se2en - Booting dgn C> (nstaller Mista4Se2en - @ilih Aanguage, !ime, Currency, dll lalu klik ?ext - .lik 7epair Bour Computer - @ilih 'S yg akan di perbaiki - @ilih Command @rompt - .etik bootrec exe #boot con%iguration data$, atau bootrec exe 4%ixmbr #hanya om boot record$ bootrec exe 4%ixboot #boot sector$ bootrec exe 4rebuildbcd #keseluruhan data$ +/ B&3! <(A; &.&73? !;7!;?!& - Buka program Calculator, pilih Scienti%ic mode - .etik ukuran %ile yang dikehendaki, misal +DDDDDD #satu juta byte$ - .on8ersikan ke 1ex, misal hasilnya <4/4D - !ambahkan angka nol disebelah kiri hingga tercapai delapan digit, misal DDD<4/4D - Buka Command @rompt - .etik >;B&Q <(A;.& >3! - 3baikan pesan O<ile not %oundP - .etik 7CC, lalu tekan ;nter - .etik empat digit terakhir, misal 4/4D, lalu tekan ;nter - .etik 7BC, lalu tekan ;nter - .etik empat digit pertama, misal DDD<, lalu tekan ;nter - .etik W #untuk Write$ - .etik ` #untuk `uit$ - SelamatS <ile dengan nama <(A;.& >3! dg si=e +*B terciptaS +: 3S'S(3S( <(A; >7 C'**3?> @7'*@!
*elihat Semua 3sosiasi <ile - *asuk Command @rompt - .etik assoc *elihat 3sosiasi <ile !ertentu - *asuk Command @rompt - .etik assoc Zekstensi %ile[, contoh : C:NGassoc txt txt\txt%ile *enyimpan Semua 3sosiasi <ile - *asuk Command @rompt - .etik assoc G >3<!37 !C! *erubah 3sosiasi <ile - *asuk Command @rompt - .etik assoc Zekstensi %ile[\Ztipe %ile[, contoh : C:NGassoc txt\txt%ile C:NGassoc rar\Win737 C:NGassoc html\1tml%ile *enghapus 3sosiasi <ile - *asuk Command @rompt - .etik assoc Zekstensi %ile[\ , contoh : C:NGassoc xls\ *e-repair 3sosiasi <ile 7;Q Y ;C;, contoh : - *asuk Command @rompt - .etik : C:NGassoc exe\exe%ile C:NGassoc reg\reg%ile +4 C'@3S >( C'**3?> @7'*@! - *asuk Command @rompt - .lik .anan - @ilih *ark - Blok !eks4Baris yang akan di Copy - !ekan ;nter - Buka ?otepad - !ekan Ctrl6M #@aste$ +, >;A3B >( C'**3?> @7'*@! - *asuk Command @rompt - .etik ping -n , +/2 D D + G ?&A /GY+ untuk delay , detik, contoh : C:NGping -n , +/2 D D + G ?&A /GY+ YY dir C:N^ ^ #tunggu , detik, lalu lihat isi >irectory C:N$ +E &SB @7(?!(?Q >7 C'**3?> @7'*@! - *asuk Command @rompt - Contoh, ketik C:NGstart 4min notepad 4p >:NCoba txt #print %ile text lsg ke &SB @rinter dg bantuan ?otepad yg di *inimi=ed$ +2 C;. *3AW37; *engetahui program apa yg membuat koneksi dg dunia luar - *asuk Command @rompt - .etik netstat -b - 1asilnya :
3cti8e Connections @roto Aocal 3ddress <oreign 3ddress State @(> !C@ user-/:dDDF%:,,D2 cds4E sin llnw net:http ;S!3BA(S1;> :D+4 Z<oxit @hantom exe[ !C@ user-/:dDDF%:,,+: =ak a8ira com:http ;S!3BA(S1;> /D,E Zupdate exe[ *emonitor secara terus menerus #tiap , detik$ - *asuk Command @rompt - .etik netstat -b , GG C:N*3AW37; !C! - !ekan Ctrl6C untuk berhenti +F 13@&S4B&3! @37!(S( - *asuk Command @rompt - .etik diskpart - Setelah masuk >(S.@37!G - .etik list disk - @ilih 1>> yg akan di hapus partisinya, contoh : >(S.@37!G select disk : - 1apus semua partisi di 1>> terpilih, contoh : >(S.@37!G clean - Buat @artisi &tama sebesar +DQB, contoh : >(S.@37!G create partition primary si=e \ +DDDD >(S.@37!G create partition extended - Sisa 1>> dibuat @artisi Aogical, contoh : >(S.@37!G create partition logical - 7e%resh dengan : >(S.@37!G rescan - Aihat hasilnya : >(S.@37!G list partition Cat : berbahaya, resiko di tanggung masing-masingS +V S(*@3? (?<'7*3S( SBS!;* - *asuk Command @rompt - .etik systemin%o G C:N(n%o txt - .etik edit C:N(n%o txt , atau - Buka %ile (n%o txt dengan ?otepad /D .'?;.S( !C@4(@ *elihat semua koneksi - *asuk Command @rompt - .etik Zb[C:NGnetstat -anZ4 ;S!3BA(S1;> !C@ +D /D+ +4+ +,D:/4FV /D4 +4 VD /,:B[ - 1asilnya : 3cti8e Connections @roto Aocal 3ddress <oreign 3ddress State !C@ D D D D:+/, D D D D:D A(S!;?(?Q !C@ +D /D+ +4+ +,D:/42E 24 +/, /:, ::EDED !(*;]W3(! &>@ +V/ ++F V2 +:+VDD ^:^ /+ ;.S;.&S( *&A!( C'**3?> - *asuk Command @rompt - @isahkan tiap perintah dengan tanda YY contoh :
C:NGcopy >:NCoba txt C:N YY ren >:NCoba txt Berubah txt >:NGren >:Na^ jpg >:Na^ bmp YY del >:Nb^ jpg YY mo8e >:Nc^ jpg ;:NQambar /: !73?S@37;?! C'**3?> @7'*@! *embuat Command @rompt jd transparan di Mista 4 Se2en - >ownload http:44www de8iantart com4download4+a]by]komalo exe - ;xtract %ile 737, lalu run Qlass C*> exe - Buka Command @rompt
xp gak bisa bro /4 A'Q'<<, 7;S!37!, S1&!>'W? Aogo%% .omputer setelah + menit - *asuk Command @rompt - .etik shutdown -l t ED 7estart .omputer setelah + jam - *asuk Command @rompt - .etik shutdown -r t :ED Shutdown .omputer setelah +D detik dg pesan - *asuk Command @rompt - .etik shutdown -s t +D -c "+D >etik Aagi *atiS5 Batalkan perintah - *asuk Command @rompt - .etik shutdown -a /, A'Q'<<, 7;S!37!, S1&!>'W? #7;*'!;$ Aogo%%, 7estart dan Shutdown secara remote pada lingkungan jaringan - *asuk Command @rompt - .etik shutdown -i
- *uncul 7emote Shutdown >ialog - .lik 3>> - *asukkan (@ .omputer yg dituju - @ilih Aogo%%, 7estart atau Shutdown pada list - 1ilangkan tanda centang pd Warn users o% the action - .lik '. /E S;@&!37 !(*; _'?; *elihat da%tar >isplay ?ame Y !ime _one (> - *asuk Command @rompt - .etik t=util 4l *elihat !ime _one yang sedang akti% - *asuk Command @rompt - .etik t=util 4g *engganti !ime _one - *asuk Command @rompt - .etik t=util 4s "!ime_one(>5, contoh : &ntuk #&!C6D2:DD$ Bangkok, 1anoi, -akarta, ketik t=util 4s "S; 3sia Standard !ime5 &ntuk #&!C6DF:DD$ .uala Aumpur, Singapore, ketik t=util 4s "Singapore Standard !ime5 /2 W37?3 >( C'**3?> @7'*@! >a%tar warna : D \ Black + \ Blue / \ Qreen : \ 3Lua 4 \ 7ed , \ @urple E \ Bellow 2 \ White F \ Qray V \ Aight Blue 3 \ Aight Qreen B \ Aight 3Lua C \ Aight 7ed > \ Aight @urple ; \ Aight Bellow < \ Bright White - *asuk Command @rompt - .etik color Zwarnalatar[Zwarnateks[, contoh : color 4E #warna latar belakang merah, warna teks kuning$ - &ntuk kembali ke warna asli, cukup ketik color /F 3.S;S C;@3!,wkwkw - *asuk Command @rompt &ntuk mengakses secara langsunga - 3>>47;*'M; @7'Q73*S, ketik appwi= cpl - C1373C!;7 *3@, ketik charmap
- C'*@&!;7 *3?3Q;*;?!, ketik compmgmt - >3!; !(*; @7'@;7!(;S, ketik timedate cpl - >;M(C; *3?3Q;7, ketik hdwwi= cpl atau de8mgmt - >;M(C; Y @7(?!;7, ketik control printers - >(7;C!C >(3Q?'S!(C, ketik dxdiag - >(S. CA;3?&@, ketik cleanmgr - >(S@A3B @7'@;7!(;S, ketik desk cpl - ;3S; '< 3CC;SS C;?!;7, ketik utilman - ;M;?! M(;W;7, ketik e8ent8wr - <'A>;7 '@!('?S, ketik control %olders - <'?!S, ketik control %onts - Q3*; C'?!7'AA;7S, ketik joy cpl - (?!;7?;! @7'@;7!(;S, ketik inetcpl cpl - .;BB'37> @7'@;7!(;S, ketik control keyboard - A'C3A Q7'&@ @'A(CB ;>(!'7, ketik gpedit - A'C3A S;C&7(!B @'A(CB, secpol - A'C3A &S;7S Y Q7'&@S, ketik lusrmgr - *'&S; @7'@;7!(;S, ketik main cpl atau control mouse - ?;!W'7. C'??;C!('?S, ketik ncpa cpl atau control netconnections - @;7<'7*3?C; *'?(!'7, ketik per%mon - @'W;7 '@!('?S, ketik powerc%g cpl - @7(M3!; C1373C!;7 ;>(!'7, ketik eudcedit - 7;Q('?3A S;!!(?QS, ketik intl cpl - 7;Q(S!7B ;>(!'7, ketik regedit - 7;*'!; >;S.!'@ C'??;C!('?, ketik mstsc - S;C&7(!B C;?!;7, ketik wscui cpl - S137;> <'A>;7S, ketik %smgmt - S'&?> @7'@;7!(;S, ketik mmsys cpl - SBS!;* C'?<(Q&73!('?, ketik mscon%ig - SBS!;* @7'@;7!(;S, ketik sysdm cpl - !3S. SC1;>&A;7, ketik control schedtasks - W(?>'WS C'A'7 Y 3@@;373?C;, ketik control color - W(?>'WS <(7;W3AA, ketik %irewall cpl - W(?>'WS *3Q?(<B, ketik magni%y - W(?>'WS S;7M(C;S, ketik dcomcn%g - W(?>'WS !3S. *3?3Q;7, ketik taskmgr /V '!'*3!(S3S( !&Q3S >e%rag >ri8e C: setiap hari, pada jam ++ malam - *asuk Command @rompt - .etik schtasks 4create 4tn "7apikan C5 4tr "de%rag c: 4%5 4sc daily 4st /::DD:DD 4ru "System5 *enjalankan @rogram Belanja setiap awal bulan - *asuk Command @rompt - .etik schtasks 4create 4tn "Belanja Buk5 4tr C:N3plikasiNBelanja exe 4sc monthly *enjalankan @rogram Qaji setiap akhir bulan - *asuk Command @rompt - .etik schtasks 4create 4tn "1itung Qaji5 4tr C:N3plikasiNQaji exe 4sc monthly 4mo lastday 4m ^
Aogo%% saat komputer idle lebih dari , menit - *asuk Command @rompt - .etik schtasks 4create 4tn "-aga @ri8asi5 4tr shutdown -l 4sc onidle 4i , *elihat da%tar tugas yg sudah dibuat - *asuk Command @rompt - .etik schtasks scheduler ini bro :D (?<'7*3S( >7(M;7 *elihat dri8er yg ter-install - *asuk Command @rompt - .etik dri8erLuery *odule ?ame >isplay ?ame >ri8er !ype Aink >ate \\\\\\\\\\\\ \\\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\ \\\\\\\\\\\\\\\\\\\\\\ MD/EDM(> Ai8eS Cam Mista (* .ernel D44++4/DDE /+:4,:4E 8musb M*ware &SB Client >ri8 .ernel D+4DV4/DDV +F:,+:,D W</:FFD Win<ast !M/DDD4>M/DDD .ernel +F4+D4/DD4 +D:/,:D: =temtusbser _!;*! Aegacy Serial Co .ernel DE4D/4/DDV +E:D4:+F *elihat dri8er ter-install lbh detil - *asuk Command @rompt - .etik dri8erLuery 48 MD/EDM(> Ai8eS Cam Mista (* Ai8eS Cam Mista (* .ernel *anual 7unning '. !7&; <3AS; D,DD +/V 4DF,DD D,DD D44++4/DDE /+:4,:4E C:NW(?>'WSNsystem:/N>7(M;7SNMD/EDMid sys + ,:E,DD 8musb M*ware &SB Client >ri8 M*ware &SB Client >ri8 .ernel *anual Stopped '. <3AS; <3AS; D,DD +2 V/D,DD D,DD D+4DV4/DDV +F:,+:,D C:NW(?>'WSNsystem:/N>ri8ersN8musb sys / +2E,DD W</:FFD Win<ast !M/DDD4>M/DDD Win<ast !M/DDD4>M/DDD .ernel 3uto 7unning '. !7&; <3AS; D,DD F: ,/D,DD D,DD +F4+D4/DD4 +D:/,:D: C:NW(?>'WSNsystem:/Ndri8ersNw%FF8cap sys + ,EF,DD =temtusbser _!;*! Aegacy Serial Co _!;*! Aegacy Serial Co .ernel *anual 7unning '. !7&; <3AS; D,DD V+ 22E,DD D,DD DE4D/4/DDV +E:D4:+F C:NW(?>'WSNsystem:/N>7(M;7SNC!]_!;*!]&]&SBS;7 sy / ,ED,DD *elihat Signed >ri8er - *asuk Command @rompt - .etik dri8erLuery 4si >e8ice?ame (n%?ame (sSigned *anu%acturer \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\ \\\\\\\\ \\\\\\\\\\\\\\\\\\\\ 7ealtek 1igh >e%inition 3udio oem, in% !7&; 7ealtek Ai8eS Cam Mista (* oem+: in% !7&; Creati8e !echnology _!; &SB *odem <<<+ oem++ in% !7&; _!;*! Corporation Win<ast >M/DDD W>* !M!uner #@3 oemV in% !7&; Aeadtek 7esearch (nc M*ware Mirtual ;thernet 3dapte oem+E in% !7&; M*ware, (nc