Easy Command Prompt tricks

  • NF
    5th May 2014 Member 0 Permalink

    @greymatter (View Post)

     I seen that one, on youtube last night and did it.

    @Cacophony (View Post)

     The schools security is shity, I even saw someone get into facebook.

    Edited 2 times by NUCLEAR_FOX. Last: 5th May 2014
  • GreenFireDragon
    5th May 2014 Member 0 Permalink

    When I have nothing (really nothing) to do I watched this...

     

    @echo off
    echo Choose drive... (ONLY THE LETTER)
    SET /p d=
    echo %date% %time% & echo %date% %time% >> tree.txt
    echo. & echo. >> tree.txt
    echo. & echo. >> tree.txt
    TREE %d%:\ /F /A & TREE %d%:\ /F /A >> tree.txt
    echo. & echo. >> tree.txt
    echo. & echo. >> tree.txt
    echo %date% %time% & echo %date% %time% >> tree.txt
    pause

     

    I don't know why...

  • NF
    5th May 2014 Member 0 Permalink

    @echo

    pause 

    color 0a 

    mode 1000

     

    :A

    echo %random% %random% %random% %random% %random% %random% %random% %random% %random%

    goto A 

     

    I just showed my dad, this and he started to get scared and he thought I hacked this.

    Edited once by NUCLEAR_FOX. Last: 5th May 2014
  • mniip
    5th May 2014 Developer 1 Permalink
    @NUCLEAR_FOX (View Post)
    There's so much wrong with that video, starting with the entire thing.
    1)
    tracert
    is a tracerouting program. It prints the nodes that are connecting you to some other host.
    2) you type a host there, not an URL
    3) : is colon, not semicolon
    4)
    XX ms
    is ping, not speed
    5) >The last digit stands for IP server connection number
    there's literally so much wrong in that phrase alone
  • NF
    5th May 2014 Member 0 Permalink

    @mniip (View Post)

     Yeah. I noticed that, watching that a second time and he calls himself a next generation hacker.

  • h4zardz1
    5th May 2014 Member 0 Permalink
    @NUCLEAR_FOX (View Post)
    what is this for?
  • NF
    5th May 2014 Member 0 Permalink

    @h4zardz1 (View Post)

    Don't you see, its General which means off-topic.  Why did you even post here? and its for Command Prompt.

  • boxmein
    5th May 2014 Former Staff 0 Permalink
    Command Prompt scripts are pretty un-powerful :(
    I wish Windows had packed a more decent shell script interpreter... PowerShell is something but I don't know about it
  • konsole
    5th May 2014 Member 0 Permalink

    Check architecture:

     

    if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (

      echo This is a 64 bit OS

    ) else (

      echo This is a 32 bit OS

    )

     

    EDIT:

     

    @boxmein I don't know anything about Powershell either, but for a decent terminal/scripting language on Windows, I tend to use Cygwin. Works well with programming too.

    Edited once by konsole. Last: 5th May 2014
  • mniip
    5th May 2014 Developer 1 Permalink
    @konsole (View Post)
    "cygwin" isn't a scripting language. You must mean cygwin's bash, in which case it's just bash. Bash is a de-facto standard in a lot of linux distros and is many times more powerful than cmd
Locked by jacob1: too many malicious commands :P