Bite my bytes

What I learn by day I blog at night.

  Home :: Contact :: Syndication  
  810 Posts :: 4257 Comments :: 235 Trackbacks

Search

Recent Comments.

Recent Posts

Most popular posts
in last 360 days

Categories

My Projects

Archives

Stuff


Copyright © by David Vidmar
 
Contact me!
 
LinkedIn Profile
 
 

This nice trick was published in TechRepublic Windows XP Newsletter.  If you are a command prompt fan, this might be new to you. You can have UNC path of a mapped drive included in C:\ prompt.

Go to System Properties (Windows Key + Pause is the quickest way), Advanced tab, Environment Variables then add a new variable to System Variables with a name PROMPT and value of $m$p$g.

You probably know that you can use Tab key to complete folder and filenames in command prompt, but it won't hurt if write it down. You have to go to registry and set the CompletionChar key in \HKEY_CURRENT_USER\Software\Microsoft\Command Prompt to value 9. Works like a charm.

Posted on Tuesday, August 24, 2004 11:51 AM | Filed under: System |

 

Feedback

# Pimp my command promtp 3/12/2006 5:56 PM Bite my bytes


# re: Command Prompt Tricks 12/10/2006 9:18 AM East
i saw someone drawing hearts in command prompt?!

# re: Command Prompt Tricks 6/24/2007 3:11 AM saggy
steps are gud,but can be made simple

# re: Command Prompt Tricks 7/14/2007 8:39 PM lacy
what is a command prompt and what does it do and how do you use it

# re: Command Prompt Tricks 10/12/2007 6:48 AM champy
whenever i am trying to open the command prompt it is showing the dialog ''windows cannot access the specified device,path or file.
you may not have the appropriate permission to access the item."
please suggest me what to do.

# re: Command Prompt Tricks 10/12/2007 6:10 PM pwnage!
ok i tried to shut down another computer from mine. its my upstairs computer. so i go shutdown -i (computer name without perenthesis) i even tries the network name and ip adress then i pressed enter the options cox comes up and it says type in computer so i do i type in the comp name one time the ip address another time and the network name on the third time. none of them will work...... it always says: the network path was not found..... please help me i wanna turn of my upstairs computer from mine

# re: Command Prompt Tricks 10/13/2007 11:55 AM David
@pwnage!: Are you admin on the other machine? I believe you should be.

# re: Command Prompt Tricks 10/12/2007 6:10 PM pwnage! 10/13/2007 6:10 PM Richard
turn off the computer by walking up the stairs!!! and shutting down LOL

# re: Command Prompt Tricks 11/23/2007 11:03 PM Stiny
Any idea how to unblock sites from Command Prompt? We have the new Verizon FiOS router, and it blocks a lot of stuff.

# re: Command Prompt Tricks 1/17/2008 4:23 AM InvisibleKid
Ok I will treach you how to shut down a computer remotly.

Using the Windows interface

1.


Open Command Prompt.

2.


Type:

shutdown -i to display the Remote Shutdown dialog box (Shutdown.exe).

3.


Under Computers, click Add to enter computer names, or click Browse to open the Find Computers dialog box.

4.


Under What do you want these computers to do, click Restart or Shut down.

5.


If you did not anticipate restarting or shutting down the target computers at this time, clear the Planned check box.

6.


Select the appropriate reason from the list.

7.


If a comment is required, the OK button will not function until you type at least one character one in the text box.

Notes


To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.


To perform this procedure, you must have the user rights to force a shutdown from a remote system. For a list of security groups that have this permission by default on computers running Windows Server 2003 family operating systems, see "Privileges" under Related Topics.


The Remote Shutdown dialog box can be displayed only by typing shutdown /i at the command prompt.


If the remote computer is functioning properly, but Shutdown.exe fails to restart it or shut it down, wait for two minutes before making a second attempt: Either the log on dialog box or the unexpected shutdown dialog box is open on the remote computer, causing an error.


Shutdown Event Tracker records data only for the Restart and Shutdown options.


If the System State Data feature is enabled and you specify an unplanned reason for the restart or shutdown, a file containing relevant system data will be created in the %windir%\system32\LogFiles\Shutdown\ directory. The System State Data feature is enabled by default on all Windows Server 2003 family operating systems.


For information on defining custom reasons, see "Best practices" under Related Topics.


The Warn users of the action check box is selected by default.

---------


PS. Yes I did just copy and paste this. I am going to give you the site of where I got it from.
http://technet2.microsoft.com/windowsserver/en/library/77db3ca9-e4f8-49cf-b415-7c268f77c9411033.mspx?mfr=true

And yes this does work. I tried it out on my brothers. By the way. You can only do this to computers on your network. If you could do it to other peoples computers then it would be mayham and idiots would turn off your computer every second. I believe there are ways to turn off other peoples computers not connected to your network but this is hacking and you can go to jail. I recently wanted to learn how to do this but when I read that then I stopped dreaming. You can not go to jail for hacking into your own network and pulling this fun little trick off.
Thanks.
By the way. It is a lot easier to type in shutdown -i then doing that stupid command line.

If you need any more infomation about this then google. Shutdown computers Remotly on your network.

This trick is a lot of fun.

# re: Command Prompt Tricks 2/6/2008 8:54 AM paddy
when i try to do this it comes up with my school name and i cant do it 2 my home computer
how do i do it?


# re: Command Prompt Tricks 3/12/2008 3:10 PM jim
type shutdown/12332.13.132.13/command/enter/obey.ok/123
thats how to shutdown the other computer

# re: Command Prompt Tricks 4/18/2008 7:42 PM chris
how do i shutdown a computer from school??

# re: Command Prompt Tricks 4/27/2008 10:53 PM somebody
chris you open a new text file on your screen by right clicking then you open it put command.exe in it then save it as whatever you want but at the end put .bat which means a batch file. after you save it at school. open it up again and it will get you in the command prompt then just do wat ever you want to do.

# re: Command Prompt Tricks 5/2/2008 5:18 AM Camdam
Hahaha this is soo much fun to do at school, i did the office computers and all the teachers computers and it overlagged the network, which then it got traced back to my account and then i got into huge i mean HUGE trouble.
So have fun but with descretion, plus use the Teachers on Call account, you type in your log name as "toc" and then the name of your school for your password.

# re: Command Prompt Tricks 5/8/2008 5:47 PM ok
hey i changed the password of my school computers and the teachers cant enter but then i was forced to tell the password cuz someone told it waas me if you want to change it you open command prompt on the pc you wanna change the pass then type :
net user username(your username of the account in school)
*(is necessary to type *)
then you write a pass and its not going to be seen so you type and click ok and then confirm


# re: Command Prompt Tricks 6/29/2008 1:08 PM benny axvier
command prompt i want to learn it more and more...

# re: Command Prompt Tricks 8/12/2008 3:00 AM yahoo
i tried it to type shutdown -i in our school but access denied

# re: Command Prompt Tricks 8/26/2008 11:30 AM barnicalballs
EXPLORER.EXE tht opens my computa or my documents

# re: Command Prompt Tricks 9/1/2008 11:47 AM unknown:)
umm how d i add a persons pc?


# re: Command Prompt Tricks 9/18/2008 10:05 AM Axle
My school has taken away run and control panel and the files and etc is there a different way i can get to command prompt?

# re: Command Prompt Tricks 9/19/2008 10:13 PM Shadowhaxor
hACKING COMMANDS PROMPT IS SO MUCH FUN. I KEEP SHUTTING DOWN THE SERVER FROM MY COMPUTER :)

# re: Command Prompt Tricks 9/24/2008 6:03 PM hiroki
if your command promt has been blocked at college or school go into notepad and type:
@echo off
command
@echo on

then save as and name it command.bat
then go to where you saved it and open it, and there in front of you should be a command window

# re: Command Prompt Tricks 9/25/2008 12:23 AM DontReadThis
If your CP is blocked just go to the search, search always finds missing files =)
Also most likely if you attempt to shut down a server with security on it you will be in big trouble.

# re: Command Prompt Tricks 10/2/2008 2:03 AM jeff
i am trying to shut down a computer here in my hous from my computer but everytime i type -i in the command promp it says: '-i' is not recognised as an internal or external command, operable program or batch file how do i get around thins and make it work?

# re: Command Prompt Tricks 10/2/2008 9:39 PM me
hey jeff i have the same prob too does any1 knw how to get round this?

# re: Command Prompt Tricks 10/15/2008 9:25 AM aimee
hi!just a question,why does my computer shut down when I typed "cmd" in run.. any inputs is highly appreciated.
Thank You.


# re: Command Prompt Tricks 10/23/2008 1:03 PM Jim
is there any way of opening command prompt undetected by the IT technitions at my school?


# re: Command Prompt Tricks 10/28/2008 2:06 PM Chris
if cmd prompt is disabled, open word and type 2 lines:

run.com
command.com


thens ave it as something.bat (save as txt file in the dropdown, not word) say ok to anything that pops up. then close word and open that file from "my computer"

# re: Command Prompt Tricks 11/3/2008 10:11 AM Mooglemage
is there any way to run a batch file without command prompt, because my admin has blocked it and the notepad trick dont work.

# re: Command Prompt Tricks 11/6/2008 8:51 PM vikas sharma
Hi ,

I want to know that how can i open my computer through command prompt.

Is there any command to open my computer with the help of command prompt?

# re: Command Prompt Tricks 11/14/2008 8:32 AM Derrick Buford
omg what amatures haha.

here is a fun trick for cmd


open cmd
type- telnet
the type- o (THE LETTER NOT THE NUMBER)
then type- towel.brightenlights.nl


and it will show you the star wars movie.
ENJOY!

Post Feedback

Title:
Name:
Email: (never displayed)
Url:
Comments: 
Please add 7 and 5 and type the answer here: