Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

What Are Some Cool Commands I Can Use In CMD?


  • Please log in to reply
14 replies to this topic

#1 UMGCOMPUTER

UMGCOMPUTER

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Local time:05:56 AM

Posted 31 January 2015 - 03:47 PM

I'm A Huge Fan Of CMD! :bananas:  :bananas:  :bananas:



BC AdBot (Login to Remove)

 


m

#2 Aura

Aura

    Bleepin' Special Ops


  • Malware Response Team
  • 19,203 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Quebec, Canada
  • Local time:05:56 AM

Posted 31 January 2015 - 05:13 PM

Hi UMG :)

The Windows command prompt is the host (interpreter) of the "batch" scripting language, which means that every batch commands will work in the command prompt. Here's a complete list of every batch commands you can use, as well as their switches and parameters.

http://ss64.com/nt/

What do you want to do using batch? Remember, it's only a scripting language so it have its limits as well.

unite_blue.png
Security Administrator | Sysnative Windows Update Senior Analyst | Malware Hunter | @SecurityAura
My timezone UTC-05:00 (East. Coast). If I didn't reply to you within 48 hours, please send me a PM.


#3 elemento911

elemento911

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:03:56 AM

Posted 01 February 2015 - 12:50 AM

If you're a big fan of CMD you'll LOVE Powershell.  Press on the windows key and R at the same time which brings up the run prompt.  Then type powershell and hit enter.  There's lots of ways to get to it but that's the first one that popped into my head.  Google it more and you see how amazing it is.  



#4 Aura

Aura

    Bleepin' Special Ops


  • Malware Response Team
  • 19,203 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Quebec, Canada
  • Local time:05:56 AM

Posted 01 February 2015 - 10:54 AM

Windows Powershell offers a lot more commands than the standard batch ones however, since you can use it to manage applications/programs and Windows based servers with it.

unite_blue.png
Security Administrator | Sysnative Windows Update Senior Analyst | Malware Hunter | @SecurityAura
My timezone UTC-05:00 (East. Coast). If I didn't reply to you within 48 hours, please send me a PM.


#5 rp88

rp88

  • Members
  • 2,895 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:10:56 AM

Posted 01 February 2015 - 12:59 PM

One thing you can do for command prompt is to make .bat files in notepad. These can contain instructions for command prompt and when you run the .bat file command prompt will open and automatically execute the instructions in the file. This could be used for automating of slow repetetive processes that you may sometimes need to perform on your machine. If you want to make and run .bat files you need to very careful what codes you type and be absolutely sure of what something will do before you run it, as some commands might severely damage your operating system, delete critical files or delete personal files if not carefully used.
Back on this site, for a while anyway, been so busy the last year.

My systems:2 laptops, intel i3 processors, windows 8.1 installed on the hard-drive and linux mint 17.3 MATE installed to USB

#6 Guest_JWebb_*

Guest_JWebb_*

  • Guests
  • OFFLINE
  •  

Posted 01 February 2015 - 01:40 PM

For huge laughs:

 

Format C:

 

(Not really, no you seriously don't want to do this, although Windows will warn you before executing this command.)



#7 Chris Cosgrove

Chris Cosgrove

  • Moderator
  • 5,973 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland

Posted 01 February 2015 - 06:10 PM

It should be noted that the command listed by JWebb at #6 will wipe EVERYTHING - OS, applications, data - off your hard drive.

 

It is a command with a genuine place in computer servicing, but it is a LAST RESORT, normally only to be used when everything else has failed.

 

Yes, Windows will normally give two warnings before it executes it, but it is a good idea to be aware of the consequences of using commands like this.

 

Chris Cosgrove



#8 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 11,786 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:10:56 AM

Posted 01 February 2015 - 07:57 PM

When you say cool, What do you mean? Cool as in fun or cool as in useful?

 

 

Open Notepad.
Copy/paste the following:

title The Matrix Re-Reloaded
color 0a
cd\
CLS
@ECHO OFF
dir /S /W /L /D /Q /R

Save the file as "Matrix.bat" and run it!

 

If you use xp or any Windows version before Vista, the /R is not valid so

title The Matrix Re-Reloaded
color 0a
cd\
CLS
@ECHO OFF
dir /S /W /L /D /Q

1.Open note pad
2.Type this in

@echo off
msg * Warning your computer has detected a virus.
msg * To remove the virus click OK or close this box
msg * Your Hard drives are now being formatted
msg * Please wait ...........
msg * APRIL FOOLS


3.Save the file as April-fools.BAT
4.Right click on the file and press hidden
5.Go to folder options and click show hidden files
6.Cut the file and place it in the victims Start up folder in the start menu
7.Go back to folder options and click do not show hidden files.

 

 

For huge laughs:

 

Format C:

 

(Not really, no you seriously don't want to do this, although Windows will warn you before executing this command.)

Not even remotely funny.


Edited by NickAu, 03 February 2015 - 12:41 AM.


#9 Aura

Aura

    Bleepin' Special Ops


  • Malware Response Team
  • 19,203 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Quebec, Canada
  • Local time:09:56 PM

Posted 01 February 2015 - 08:09 PM

Nick, this is when you want to be a hacker, not to do cool things  :whistle:


unite_blue.png
Security Administrator | Sysnative Windows Update Senior Analyst | Malware Hunter | @SecurityAura
My timezone UTC-05:00 (East. Coast). If I didn't reply to you within 48 hours, please send me a PM.


#10 Guest_JWebb_*

Guest_JWebb_*

  • Guests
  • OFFLINE
  •  

Posted 01 February 2015 - 08:17 PM

Not even remotely funny.

You have no sense of humor.



#11 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 11,786 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:05:56 AM

Posted 01 February 2015 - 09:26 PM

Nick, this is when you want to be a hacker, not to do cool things  :whistle:

Hacking is a criminal activity and is in no way supported or endorsed by Bleeping computer. This would include any attempt to bypass any activation of software or access to a PC or network where you do not have the owners permission.

 

 

 

No subject matter will be allowed whose purpose is to defeat existing copyright or security measures. If a user persists and/or the activity is obviously illegal the staff reserves the right to remove such content and/or ban the user. This would also mean encouraging the use or continued use of pirated software is not permitted, and subject to the same consequences.

http://www.bleepingcomputer.com/forum-rules/


Edited by NickAu, 01 February 2015 - 09:33 PM.


#12 Aura

Aura

    Bleepin' Special Ops


  • Malware Response Team
  • 19,203 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Quebec, Canada

Posted 01 February 2015 - 09:31 PM

I know it's a criminal activity, I'm just saying that a lot of people use these commands to make them look like hackers :P

unite_blue.png
Security Administrator | Sysnative Windows Update Senior Analyst | Malware Hunter | @SecurityAura
My timezone UTC-05:00 (East. Coast). If I didn't reply to you within 48 hours, please send me a PM.


#13 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 11,786 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:09:56 PM

Posted 01 February 2015 - 09:40 PM

You want to "impress" your friends try some thing like Hollywood terminal ( Linux )

Linux Today - Imitate Fake Hollywood Terminal Hacking ...

 

Video is my work.

Look mom im a uber leet haxor.

http://youtu.be/wERXZbxr_HE

 

Edit.

 

Better clip.


Edited by NickAu, 01 February 2015 - 09:50 PM.


#14 Aura

Aura

    Bleepin' Special Ops


  • Malware Response Team
  • 19,203 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Quebec, Canada
  • Local time:05:56 AM

Posted 01 February 2015 - 09:41 PM

I have better than that :wink:

http://hackertyper.net/

Okay I'm done with the off-topic but that video was cool, I actually prefer when people rice their own terminal in *nix they make it look way better than Hollywood's ones :P

Edited by Aura., 01 February 2015 - 09:41 PM.

unite_blue.png
Security Administrator | Sysnative Windows Update Senior Analyst | Malware Hunter | @SecurityAura
My timezone UTC-05:00 (East. Coast). If I didn't reply to you within 48 hours, please send me a PM.


#15 shanepearce

shanepearce

  • Banned
  • 50 posts
  • OFFLINE
  •  
  • Local time:09:56 PM

Posted 03 February 2015 - 06:04 PM

cmd.exe properties

image.jpg






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users