M.S DOS

 M.S DOS (Microsoft disk operating system)


This operating system introduce by Microsoft that work on text mode show it is also know as CUI (Character User Interface) it each function depend on CMD.


Type of DOS CMD


i) INTERNAL DOS CMD

ii) EXTERNAL DOS CMD

 


INTERNAL DOS CMD (RAM)

It is memory residential cmd that store in the main memory during booting.It is now visible.

ex:- time , date , vre , cd.. , dir , copy , edit ,del .


EXTERNAL DOS CMD (RAM)

It is disk residential cmd that store in the disk (HDD) is it visible.

ex:- setup cmd , F disk (win -98 me partition k liye)

format F disk etc.


How to open dos cmd


1. start --- all program --- accessories --- cmd prompt .

2. press WIND+R --- type cmd --- enter.

 

then open this type of screen



3. open my computer ---" c" drive --- windows --- system32 --- type "c" --- cmd

4. turn on computer --- press F8/F2/del --- now open advance boot option (heading) --- 

    safe mode with cmd prompt.


M.S dos cmd


1. Time :- by which view & change time

   eq :- c:\> time (enter)

            -- current time

            -- change time

2. Date :- by which view & change date

   eq :- c:\>date (enter)

          -- current date

          -- change date

3. Ver :- by which view ms-dos version

     eq :- c:\> ver (enter)

4. Drive name :- by which change or move on one drive to other

     eq :- c:\> D (enter)

5. DIR :- by which view file & directory (folder)

     eq :- c:\> DIR (enter)

6. CD :- by which move in directory (enter directory/folder)

     eq :- c:\> CD DIRECTORY NAME  (enter)

             c:\> CD INDIA

7. MD :- by which make directory (for making folder/directory)

    eq :- c:\> md directory name

            c:\> md india

8. Copy con :- by which create file (file ko save karne k liye)

           eq :- c:\> copy con file name

      -------------------write text-----------------

           ctrl + z (enter) file save

9. Type :- by which view file content

           eq :- c:\> type file name

      -------------------write text----------------

10. Edit :- by which edit file (ye cmd 64 bit os me kam nahi karta hai) 

           eq :- c:\> edit file name

11. CD.. :- by which exit from directory

           eq :- c:\user\sibu>cd.. (enter)

           CD.. (it is use for out from folder)

12. CD/enter :- by which back on driver

          (sabhi drive se sidhe pahle me jane ke liye)

13. Exit :- close dos prompt 

by which close dos prompt

14. Format dirver

               Format d:

               driver d: new volume

               yes/no

15. Format driver 

               Run as administration in cmd

               c:\windows\system 32\format d:

               enter current volume label for drive d: new volume

               proceed with format <Y/N> ? Y  (enter)

16. copy : by which copy file

          c:\ copy source address D address

          c:\ copy D:\india\jhar\ranchi\rospa\electro\inq d:\india\bihar\patna\electro (enter)

17. Tree :- by which view directory strature 

          D:\tree india

          tree d:\india

c:\tree root directory name

18. attrib/? :- detail show karega 

        hide folder show karega folder ko hide/unhide kar sakte hai

19. CLS :- clear screen

20. Type :- file ko dakhne k liye 

        type-- type cmd se file ko dakh sakte hai jo hum ne banaya ho

        Dir/p ------> se file show hota hai

NOTE:- folder banate time space nahi hona chaiye nahi to dusra folder banjayega


1. Copy con se file banta hai

2. MD se folder banta hai

3. CD se folder banta hai

4. CD.. se ek folder se bahar aate hai

5. CD/ se pure folder se bahar aate hai

6. E : se E drive me jate hai


** Copy con enter ke baad hum apna BIO-DATA bana sakte hai **

** Space dene se 2 folder ban jata hai islye space bs folder banate time hee dete hai**

** Tree/ is cmd se ek folder k and kitna folder hai ye jaan sakte hai jaise ek folder hai india naam se

         us folder k andar me bihar aur jharkhand hai bihar k andar me patna hai                     gaya hai aur jharkhand k andar me ranchi hai tata hai    


How to create batch file 


* E:\>copy con abc.bat (enter)
write command those want to run when open batch file

eq -- E:\>INDIA\JHAR\RAN\ROSPA\ELECTRO
         E:\>copy con ad.bat (enter) admission ka short form ad likha hai


          CD INDIA (enter)
          CD JHAR (enter)
          CD RAN (enter)
          CD ROSPA (enter)
          CD ELECTRO (enter)
          EDIT ADMISSION (enter)

                   ctrl + z (enter) save the folder.







1