Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tutor command dan aplikasi dari cmd oleh sohai
#1
Sekedar sharing ajah dengan bahasa batch ,
mungkin dah pada tau kan bahasa batch yakni,
command-command yang di pakai pada commandprompt atau biasanya disebut cmd.
Nah kali ini ane ngk bosan-bosannya untuk bagi ilmu
tentang penggunaan
command logika berupa "set" "start" "goto" dan "msg"

pertama -tama ane buat sebuah simple coding
Quote:@echo off
title simple sohai project 1
mode 28,15
color 0a
cls
:x
echo ----TeST---
echo by sohai
echo.
set/p "adit=Are you ready !!! (y/n)?: "
if %adit%==Y goto yes
if %adit%==y goto yes
if %adit%==N goto no
if %adit%==n goto no
:yes
start http://hacker-newbie.org
goto x
:no
msg * Thanks you for using this tool !!!
exit
caranya mudah tinggal copy paste ke notepad
kemudian kita save dengan extension .bat
misal :
sohai.bat atau terserah kalian yg penting .bat

untuk penjelasannya
Quote:@echo off --->membuat layar off

title -->memberikan judul

mode 28,15 --> memberikan ukuran pada layar cmd dengan col 28 line 15

color 0a -> warna 0->untuk bacground hitam dan a-->hijau terang

cls -->menghapus layar cmd agar bersih

:x -->fungsi logika dari goto

echo ----TeST--- -->fungsi echo untuk menulis kata2 di layar cmd

echo by sohai
echo.

set/p "adit=Are you ready !!! (y/n)?: " --> set/p "logic" merupakan perintah logika dimana jika kita menulis kata Y,y maka perintah akan di lanjutkan ke yes jika kita menulis kata N,n maka akan di lanjutkan ke no itu lah fungsi set,if,dan goto

if %adit%==Y goto yes
if %adit%==y goto yes
if %adit%==N goto no
if %adit%==n goto no

:yes
start http://hacker-newbie.org -->untuk membuka atau menjalakan suatu file,aplikasi,atau yg lainnya,jika perintah Y atau y maka akan di direct ke http://hacker-newbie.org

goto x
:no

msg * Thanks you for using this tool !!! -->mengeluarkan pesan dengan tulisan Thanks you for using this tool !!! .

exit --->keluar dari cmd

ya terimakasih telah melihat thread dari saya ,semoga bermanfaat
bila ada salah mohon di maafkan karena kita disini belajar bersama - sama :)Ganteng[/quote]

Code:
root@sohai:cat info.txt ~#To all script kiddies ~#changing the "made by" or "recoded by" "coded by" ~#wont make you the coder! ~#Respect the coder! ~#It's all opensource for Development not for plagiarism ~#I am pround to be Underground Coder
Reply
#2
bedanya

Code:
echo pesan bla-bla

dengan

Code:
echo .
PHP Code:
root@xh4x0r / $ ~
Reply
#3
(12-08-2011, 07:42 PM)Up_ Wrote: bedanya

Code:
echo pesan bla-bla

dengan

Code:
echo .

pertanyaan bagus
bedanya
kalo echo biasa itu untuk menampilkan tulisan yg kita tulis misal
bisa kok di peraktekan di cmd
coba tulis
echo UP maho maka nanti akan
tertulis UP maho

jika echo. itu fungsinya seperti ENTER gan ibarat kayak di html
kita mengunakan <br> ya seperti itu :D
Code:
root@sohai:cat info.txt ~#To all script kiddies ~#changing the "made by" or "recoded by" "coded by" ~#wont make you the coder! ~#Respect the coder! ~#It's all opensource for Development not for plagiarism ~#I am pround to be Underground Coder
Reply
#4
oh itu breakline yah..

kalo mau buat breakline sebanyak 5 space gmna??

apa harus

Code:
echo membuat lima space echo. echo. echo. echo. echo. echo berakhir disini

gk capek yah kalo buat 100 breakline
PHP Code:
root@xh4x0r / $ ~
Reply
#5
bisa si tapi menurut ane
kita mengunakan echo.
harus sesuai dengan
set mode yg telah kita gunakan gan kalo tidak ya percuma saja
Code:
root@sohai:cat info.txt ~#To all script kiddies ~#changing the "made by" or "recoded by" "coded by" ~#wont make you the coder! ~#Respect the coder! ~#It's all opensource for Development not for plagiarism ~#I am pround to be Underground Coder
Reply
#6
kalo buat tulisan kayak gini caranya gmna..

Quote:
tulisan rataKiri

tulisan rata tengah

tulisan rata Kanan
PHP Code:
root@xh4x0r / $ ~
Reply
#7
oh gitu kita tetep main command
echo off
cls
echo tulisan kiri
echo.
echo di spasi ampe tengah tulisan tengah
echo.
echo di spasi ampe kanan
pause

versi rapih nya dari ane,,
echo di command propt tuh mirip fungsi <pre> </pre>
di php maupun di html jadi kit abisa nulis apa saja di layar
Code:
root@sohai:cat info.txt ~#To all script kiddies ~#changing the "made by" or "recoded by" "coded by" ~#wont make you the coder! ~#Respect the coder! ~#It's all opensource for Development not for plagiarism ~#I am pround to be Underground Coder
Reply
#8
asik asik..

dapet maenan lg euy. Sinis

mkasi kk sohai. Bigsmile
Reply
#9
kl capek kn tinggal copas aja...
heheheh

kayak \n

ea kn kk.. hihi
[Image: 185199_3184785837214_995694628_n.jpg]
Reply
#10
work om Bahagia

mantab dah om sohai Mantab

[Image: 467898856656158]
Quote:The closer you look, the less you'll see.
-=[ irc.hacker-newbie.org ]=-
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Sohai PHP Encryptor sohai 9 309 09-07-2014, 09:12 AM
Last Post: efendiako
  Tutor Menyatakan perasaan lewat Flashdisk nubito-cyber404 39 1,315 03-29-2014, 06:13 PM
Last Post: tuttabartman88
  [saran] bikin aplikasi android HN-Community hellboys 2 111 02-17-2014, 05:16 AM
Last Post: hellboys
  Aplikasi chat dengan Simsimi (tanpa browser) RieqyNS13 6 175 01-03-2014, 02:12 PM
Last Post: adecakep7
Heart_16 Aplikasi hacker-newbie browser Bung Ali 22 862 12-28-2013, 09:09 PM
Last Post: ilham syahfitra
  (Tutor) Membuat Translate Bahasa Sendiri Hab1b 12 264 09-18-2013, 09:52 AM
Last Post: eth0
Computer_16 [Tutor] Javis System In Ironman , Versi Stephani By Rakagi Ryanz San Rakagi 19 452 08-16-2013, 06:56 AM
Last Post: PyersonAlfredo
  [tutor]php untuk pemula bagian 1 777r 6 161 05-07-2013, 01:22 AM
Last Post: iBox
  [SHARE] Source Code Boom SMS dari Java kheboudt89 24 658 03-28-2012, 12:48 PM
Last Post: anarchy666
Nut_16 Aplikasi Java Pemrograman - Komponen dan Berbagai Alat Pengembangan Rifqi Azhar Nugraha 0 85 10-05-2011, 03:06 AM
Last Post: Rifqi Azhar Nugraha

Forum Jump:


Users browsing this thread: