DOS Commands - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 01-23-2007, 01:37 PM   #1 (permalink)
Newb Techie
 
Join Date: Jan 2007
Posts: 10
Default DOS Commands

Hey Every1-.

I have just started my computer tech job and i am after some info and these forums have been really great about giving it out and i am sure once i get to become wise and knowledgeable as some of the people here i will be happy to share it with the forums - but i have a simple question for ya'll. -
i was just wondering about some of the Command Prompts for windows that could become usefull in my journeys eg : IPCONFIG for my internal ip adress..... post them here good bad and ugly ones and ones that yourselfs have found extremely usefull in day to day jobs, thanx - Jamie
__________________

JamieH123 is offline  
Old 01-23-2007, 01:46 PM   #2 (permalink)
Techie Beyond Description
 
Apokalipse's Avatar
 
Join Date: Jun 2003
Location: Melbourne, Australia
Posts: 14,559
Default

ping [website or IP address] = tells you if your PC can get a response from a certain site/computer/router

del "[file path and name]" = delete this file. Useful to remove files that are locked by explorer.exe. just close explorer, and use the command prompt.

copy "[original path and file]" "[destination path and file]" = copies the file

cut "[original path and file]" "[destination path and file]" = cuts and pastes the file

edit.com = text editor. useful to repair/remake files such as boot.ini if you can't boot into Windows, but can load a command prompt. can even make batch files.

fdisk = for deleting/partitioning drives. you must actually have the fdisk program though.

dir "[directory]" = see what's in a particular directory

help = shows you available commands and what they do
__________________

__________________
Apokalipse is offline  
Old 01-23-2007, 01:57 PM   #3 (permalink)
Wizard Techie
 
Join Date: Oct 2004
Posts: 4,010
Default

pint 127.0.0.1 -t

to continue pinging. change 127.0.0.1 to the desired ip.
__________________

Cisco CCNA, Comptia A+, 1/3 through CCNP
Trifid is offline  
Old 01-23-2007, 02:05 PM   #4 (permalink)
Super Techie
 
allan16's Avatar
 
Join Date: Jun 2005
Posts: 373
Default

These are some that I normally use:

traceroute:

tracert ip-address

nslookup:

nslookup domain-name

To get to a FTP server:

ftp ip-address-of-ftp-server
ftp name-of-server

telnet on specific ports for troubleshooting:

telnet ip-address port#

Alt + Enter makes the command prompt be as big as your screen

you can also check the following link:

http://www.computerhope.com/msdos.htm#02
allan16 is offline  
Old 01-23-2007, 02:23 PM   #5 (permalink)
True Techie
 
fixal0t's Avatar
 
Join Date: Oct 2006
Posts: 246
Default

definately runas
__________________
Case:NZXT Trinity Silver PSU:Apevia Aspire 500W UV Green Motherboard:Asus A8N-SLI CPU:AMD Athlon 64 3500 CPU Cooler:Zalman CNPS7700-Cu Video:2x eVga nVidia GeForce 6800XT (256MB DDR) RAM:2Gig (4x512 Corsair TwinX dual channel) HDD:160Gig Seagate Barracuda SATA, 200Gig Maxtor SATA III CD/DVD:LG DVD ROM, NEC 16XDVD+-RW
(\__/) This is Bunny. Put him in your
(='.'=) signature and help him on his way
(")_(") to world domination
fixal0t is offline  
Old 01-23-2007, 03:35 PM   #6 (permalink)
Techie Beyond Description
 
Apokalipse's Avatar
 
Join Date: Jun 2003
Location: Melbourne, Australia
Posts: 14,559
Default

Quote:
Originally posted by Trifid
pint 127.0.0.1 -t

to continue pinging. change 127.0.0.1 to the desired ip.
there's also -w *
where * is the timeout value in milliseconds

I find it useful to set it to a low value (like 75), so it doesn't spend so much time if it times out.
__________________
Apokalipse is offline  
Old 01-23-2007, 04:25 PM   #7 (permalink)
Newb Techie
 
Join Date: Jan 2007
Posts: 10
Default Ta guys

Thanks Guys Your all alot of help appreciate your replys
__________________

JamieH123 is offline  
Closed Thread

« Hmmm | Help needed »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 12:55 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.