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

command prompt


  • Please log in to reply
3 replies to this topic

#1 ayoola

ayoola

  • Members
  • 3 posts
  • OFFLINE
  •  
  • Local time:08:11 AM

Posted 03 December 2011 - 11:11 AM

pls i need somebody to tell me how to use command prompt in my computer and how to work in dos ms

Edited by Budapest, 07 December 2011 - 08:01 PM.
Moved from Intros ~Budapest


BC AdBot (Login to Remove)

 


#2 Budapest

Budapest

    Bleepin' Cynic


  • Moderator
  • 23,573 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:11:11 PM

Posted 07 December 2011 - 08:04 PM

See these:

http://ss64.com/nt/
http://pcsupport.about.com/od/termsc/p/command-prompt.htm
The power of accurate observation is commonly called cynicism by those who haven't got it.

—George Bernard Shaw

#3 muhuwj201

muhuwj201

  • Members
  • 4 posts
  • OFFLINE
  •  
  • Local time:08:11 AM

Posted 05 April 2012 - 12:41 PM

Well CMD.exe is used to execute commands like
echo Hello!
which displays "Hello!"
You can also make small programs, like this simple loop:
@echo off
:a
echo Hello!
goto a
This is used to write text to a file:
@echo off
title Text to File
echo Hello! >>> hello.txt
echo Done!
pause
exit
For a full list of commands, go to CMD.exe and type in
help
.
You should see a list of commands.
to exit, type
exit
More useful command are:
cls
taskkill "program.exe"
And
telnet
.
To see the current time, type
time /t
If you type
time
, you have to change the time.
More commands at This Site

Edited by muhuwj201, 05 April 2012 - 12:47 PM.


#4 cryptodan

cryptodan

    Bleepin Madman


  • Members
  • 21,868 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Catonsville, Md
  • Local time:01:11 PM

Posted 11 June 2012 - 01:34 AM

Also a lot of the commands like the above have little manuals that tell you about command switches and variables.

They can be accessed via command /? more then likely.

So this net use /? would display the available command line arguments for the command net use.

which will be similar to this:

net use [{DEVICE | *}] [\\COMPUTER\SHARE[\VOL]] [{PASSWORD | *}]] [/USER:[DOMAIN\]USER] [/USER:[DOTTEDDOMAIN\]USER] [/USER: [USER@DOTTEDDOMAIN] [/SAVECRED] [/SMARTCARD] [{/DELETE | /PERSISTENT:{yes | no}}]

net use [DEVICE [/HOME[{PASSWORD | *}] [/DELETE:{yes | no}]]

net use [/PERSISTENT:{yes | no}]

Edited by cryptodan, 11 June 2012 - 01:34 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users