Starting Off With MS-DOS
MS-DOS Is a VERY powerful way to do a lot of things. In this tutorial, I will begin to explain to you some commands in the MS-DOS Application for Windows, and how to use it to your advantage.
Here are the commands that I will be using in this tutorial:
- PING
- FTP
Ok, now that you have those down, lets talk about them one by one and see what they do.
PING Command: The Ping command allows you to Ping ones computer or website, using the website URL or the IP address of the person. Using PING on a website sends packets to the website, that will have data about the website in them. The primary data inside, is the websites IP Address. When you ping an IP Address, it is PINGED looking for an answer to the ping (IE, The amount of packets received after sending them.) And determine the presence of a computer. For this, I am going to ping a proxy and show you what the different DATA Means.
Pinging 221.208.174.223 with 32 bytes of data:
Request timed out.
Reply from 221.208.174.223: bytes=32 time=334ms TTL=104
Request timed out.
Reply from 221.208.174.223: bytes=32 time=334ms TTL=105
Ping statistics for 221.208.174.223:
Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli-seconds:
Minimum = 334ms, Maximum = 334ms, Average = 334ms
So, I pinged A Chinese IP Address, sent 32 Bytes of Data (4 packets) And recieved 2 out of four of those packets back, meaning that there is a presence of a computer, but it is far away. Also, as you can see, it was timed out while waiting for the two other packets that i sent. Also, you can see that it took an average of 334 Milliseconds to receive, now, im going to ping an IP address in a town that i live in.
Here is my result:
Pinging (OMITTED) with 32 bytes of data:
Reply from OMITTED: bytes=32 time=15ms TTL=122
Reply from OMITTED: bytes=32 time=24ms TTL=122
Reply from OMITTED: bytes=32 time=15ms TTL=122
Reply from OMITTED: bytes=32 time=16ms TTL=122
Ping statistics for OMITTED:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 15ms, Maximum = 24ms, Average = 17ms
See the difference? Good. Now, lets move on to FTP. Yes. MS-DOS Works as an FTP Client. Yay? Yay. Ok, to start off, type in ftp into the command prompt. easy, right? Now, to connect to your websites host, type “open *host here*” Once done with that, type in your FTP Username, with a hyphen before it. Like so. “-DDXFILES” (yours, not this random one.)
Now that you are this far, just type in your password and hit enter. It takes some time to connect while your username is up, so don’t panic.
After you are all connected with your password and everything, there are a few commands that you should know to upload, and get files, and more.
mdir – Makes a directory while in your websites files.
cd – Changes Directory.
disconnect – Disconnects from FTP.
send *file directory on your computer* – Sends a file to the current directory in your websites files.
put – send single file
mput – send multiple files
quit – exits from ftp.
That concludes my MS-DOS Beginners Tutorial including Pinging and FTP Access without any fancy programs.
Thank you for reading, and have fun.
