Sunday, June 24, 2012

10 Useful Dos Commands

Hello friends today i'm sharing some useful MS DOS commands,these commands really helps you in your future and it is very interesting also,as you know that MS DOS is work on command line,so by help of these commands you can easily get your output.It saves your time also and you w'll not get bore,i'm promising you.

                Start->Run->Type cmd->Command prompt


1)Assoc:Associated Extension

It is a quick and easy way to check for your default file associations.open a command prompt and write "assoc" command followed by file extension.

  Directory:\>assoc .zip (Press Enter)

The response is the installed application that is currently configured to handle that file type



2)Tree: View Directory Structure

By Tree command you can get the structure of any directory.


   Directory:\>tree >any textfile(Press Enter)

By doing this the output of tree command is redirected to the textfile.


  
3)Ipconfig

if you want to know your basic network setup, just do a quick "ipconfig" and you will get details like your computer IP and the default gateway (which is typically your home router IP address).

    Directory:\>ipconfig(Press Enter)


4)Ping

if you want to know the IP address of any website then you can use ping command.


Directory:\>ping  any website url(Press Enter)



5)Netstat

If you want to see all network connections currently active from your PC, type "netstat".


Directory:\>netstat(Press Enter)


6)Tasklist

If you want to see all active processes in windows then type "tasklist".



 Directory:\>tasklist(Press Enter)



7)Taskkill

If you want to kill any activated process then type "taskkill".


Directory:\>taskkill  (Name of imagefile(service))(press Enter)



Note:-If you want more help about taskkill command then type   Directory:\>taskkill /?




8)sfc /VERIFYFILE


If you want to know whether any system file is infected by virus or not then type "sfc /VERIFYFILE".



Directory:\>sfc /VERIFYFILE="Full path of sysyem file"(Press Enter)


Note:-The above command run if you have administrative privledge.So for becoming administrator you have to do following steps.

start->(type cmd in the search box)->press Ctrl+Shift+Enter


9)sfc /scannow


If you want to scan all system file then type "sfc /scannow".


 Directory:\>scannow(Press Enter)


Note:-The above command run if you have administrative privledge.So for becoming administrator you have to do following steps.

start->(type cmd in the search box)->press Ctrl+Shift+Enter



10)find

If you want to find any file in the system then type "find".


Directory:\>dir directory:\  /s /b | find  filename(Press Enter) 



The system will respond with the directory where the file is stored.




           Thanks Friends....

C Programming Tutorials Based On String And DataStructure



Hello friends,today i'm sharing some C program's that are based on string and datastructure,in all these programs i have used functions and pointers.
                   I tried to make the program's easiear for all of you,because i know that typical code can't be handeled easily.Time is very precious for us so we try to learn easy thing first:):):)



                           If You want to get these program's then please Click Here






When you click the above link then you get a zip file,this zip file contain all the  programming codes and one MS Word file in which you get a C problems.






                        Thanks Friends..........





Saturday, June 23, 2012

What Is Email Protocol?





Hello friends as you know that email protocol is a method by which a communication channel is established between two computers and email is transferred between them. When an email is transferred, a mail server and two computers are involved. One computer sends the mail and the other one receives it. The mail server stores the mail and lets the receiving device access it and download it if needed. There are four different mail protocols.




1)POP3 (Post Office Protocol 3):-

This is a simple, standardized protocol that allows users to access their mailboxes on the Internet and download messages to their computers. The simple design of POP3 allows casual email users who have a temporary Internet connection (dial-up access) to access emails. They can read their emails, draft new emails or reply to emails while they are offline, and can send these emails when they are back online. Yahoo! Mail (mail.yahoo.com) is an example of a mail server that uses POP3 protocol.




2)IMAP (Internet Message Access Protocol):-

This is a standard protocol used for email transfer by users. Like POP3, it also supports both online and offline modes of email access. The email message is downloaded to the user's machine only when a specific request is made to read it. Users can download mails to their computers while keeping a copy on the server. The mails on the server are the primary copy and anything changed on the local machine is updated by what is on the server.Users can also create new mailboxes which are shown as folders on the server, and move messages between folders. This feature allows access to shared and public folders.Gmail is an example of a mail server which uses IMAP protocol.




3)SMTP (Simple Mail Transfer Protocol):-
SMTP is a simple, text-based protocol that works best when devices are interconnected to each other. However, SMTP protocol can only be used to send emails. Unlike POP3 and IMAP protocols, SMTP does not provide the functionality to the users to retrieve emails from the server.One of the main issues with SMTP is the lack of sender email authentication. SMTP lacks security features too and thus users get spam emails.UNIX systems and simple applications like "mailsend" make use of SMTP protocol.

4)HTTP (Hyper Text Transfer Protocol):-

 HTTP is not used exclusively for mail transfer, but it plays a vital part for users who use Internet browsers for accessing their mails (both for sending and receiving).Hotmail and Yahoo! use HTTP protocol for accessing emails through the Internet.







 Thanks Friends....












Popular Posts