What is command prompt and what can i do with it?

computer info from command prompt on Museum Shop Gifts :: Viewing 121 to 128 out of 2395 Product(s) [View ...
computer info from command prompt image




joshua


I had to assign a static ip address to my xbox today. In order to do this, i had to use command prompt. This is the first time i have ever seen it. What does it do? And what are some cool things i can do with it? (that won't destroy my computer :P ) Thanks!


Answer
The coolecst thing you can do is to type this command :

telnet towel.blinkenlights.nl

HOwever it wont work in Vista and 7 by default cause you will have to enable telnet functionnality first. If youre in XP, connected to the net, then it will show you an star wars animation made out of only text !!!! You can Google it for more info.

It is cool to use cmd to do things more quicly than in graphic mode (gui). For example go to your desktop using the commans :

cd desktop

If you have something like :

C:\Documents and Settings\USERNAME\Desktop>

Then you are in the desktop. Then type :

md a b c d e f g h i j k l

And it will create a folder a, a folder b, a folder c, etc. In one second (less).

You can also open programs :

start "" notepad
start "" firefox

Anyway, after that you can start doing batch files that automate your tasks and thats even cooler.

Learn cmd : http://ss64.com/nt/
Batchs : http://www.chebucto.ns.ca/~ak621/DOS/BatBasic.html

Just be carefull to not use command you dont know. For example to delete a file you type

del filename

But if you accidentally type

del *

It will delete all files in the current directory. If that directory is c: at the moment, bye bye all your files (ALL)

DOn't use batchs from the net unless you are sure what they do.

Cheers

how to create an executable application file from programs run on command prompt?




Sarah


I am an amateur java programmer and i have created a few simple games in java using notepad++. I run and compile them on command prompt but I want to be able to launch an application straight from my computer. How can i create a .exe file from the classes I have coded uses notepad++?


Answer
Well, first things first... converting Java to EXE defeats the purpose - info here: http://www.excelsior-usa.com/articles/java-to-exe.html
Second thing, you can write a BAT file and use a BATCH to EXE converter to use it as an EXE.
Open Notepad/Notepad++
@echo off
title Your Program Title Here
java commands here
Save as Run.bat in the compiled Java folder.
You can find a BATCH to EXE converter here: http://download.cnet.com/Bat-To-Exe-Converter/3000-2069_4-10555897.html
Run it and convert Run.bat to an EXE file with your required settings.
This will run the command prompt commands you WERE using as an EXE. It's not the same as converting to an EXE, but it might help.




Powered by Yahoo! Answers

Comments :

0 komentar to “What is command prompt and what can i do with it?”
 

Sexy Lace Bikini

Leave little to the imagination in this super sexy booty short bikini transparent lace. Adjustable triangle top with peek-a-boo slits ties at neck and back. Matching ruffled booty shorts leave so little to the imagination! 90% Nylon 10% Spandex. Four way stretch means one size fits most. Unlined. Club Wear by Body Zone Read More

LG Scarlet

This event, which was attended by more than 200 media from Middle East and Africa, followed earlier events in Los Angeles and in London that drew celebrities for a mock premiere event to reveal the secret of “Scarlet, The Hit New TV Series,” which had been promoted through broadcast and online trailers.