Dos Internal Command

1) Date :- เค‡เคธ command เค•ा use system เค•ा date เคฆेเค–เคจे เคต เค‡เคธเคฎें เคธुเคงाเคฐ เค•เคฐเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax – c:/student>date↵

2) Time :- เค‡เคธ command เค•ा use system เค•ा time เคฆेเค–เคจे เคต เค‰เคธเคฎे เคชเคฐिเคตเคฐ्เคคเคจ เค•เคฐเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax – c:/student>time↵

3) Ver :- เค‡เคธ command เค•ा use operating system เค•ा version เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax – c:/student>ver↵

4) Vol :- เค‡เคธ command เค•ा use system เค•ा version เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax – c:/student>vol↵

5) ECHO :– เค‡เคธ command เค•ा use dos Prompt เค•ो No เคฏा off เค•เคฐเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax – echo ร˜ file on/off↵     exp – echo ร˜ on↵

6) Dir :- เค‡เคธ command เค•ा use current directory เคฎें store files เคต directories เค•ो เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax –c:/student>dir↵

  1. Dir/p :- เค‡เคธ command เค•ा use files เคต directories เค•ी list เค•ो page wise เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏे เคœाเคคा เคนै|
        syntax – c:/student>dir/p↵
  2. Dir/w :-เค‡เคธ command เค•ा use เค•ेเคตเคฒ files เคต directories เค•ी list เค•ो width wise เคฆेเค–ा เคœा เคธเค•เคคा เคนै|
        syntax – c:/student>dir/w↵
  3. Dir/b :- เค‡เคธ command เค•ा use เค•ेเคตเคฒ files เคต directories เค•ा เคจाเคฎ เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै| เค‡เคธเคฎें files เค•ा extension name เคต เค‰เคจเค•े เคฌเคจเคจे เค•ा เคธเคฎเคฏ เคจเคนी เคฆिเค–ाเคˆ เคฆेเคคा เคนै|
        syntax – c:/student>dir/b↵
  4. Dir/l :- เค‡เคธ command เค•ा use files เคต directories เค•े เคจाเคฎ เค•ो lower case (small letter) เคฎें เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
        syntax – c:/student>dir/l↵
  5. Dir/s :- เค‡เคธ command เค•ा เค‰เคชเคฏोเค— files เคต directories เค•ी list เคฆेเค–เคจे เค•े เค…เคฒाเคตा directories เค•े เค…ंเคฆเคฐ store fiels เคต directories เค•ी list เคญी เคฆेเค– เคธเค•เคคे เคนै|
        syntax – c:/student>dir/s↵
  6. Dir/o :- เค‡เคธ command เค•ा เค‰เคชเคฏोเค— files เคต directories เค•ी list เค•ो เค…เคฒเค— –เค…เคฒเค— เค‰เคจเค•े เคจाเคฎ เค•े เค†เคงाเคฐ เคชเคฐ ascending order เคฎें เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै |
        syntax – c:/student>dir/o↵
  7. Dir/on :- เค‡เคธ command เค•ा เค‰เคชเคฏोเค— files เคต directories เค•ी list เค•ो เคเค• เคธाเคฅ เค‰เคจเค•े เคจाเคฎ เค•े เค†เคงाเคฐ เคชเคฐ ascending order เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
        syntax – c:/student>dir/on↵
  8. Dir/oe :- เค‡เคธ command เค•ी เคธเคนाเคฏเคคा เคธे files & directories เค•ी list เค•ो fiels เค•े directories เค•ी list เค•ो fiels เค•े extension name เค•े เค†เคงाเคฐ เคชเคฐ ascending order เคฎें เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
        syntax – c:/student>dir/oe↵
  9. Dir/od :- เค‡เคธ command เค•ी เคธเคนाเคฏเคคा เคธे files & directories เค•ी list เค•ो เค‰เคจเค•े เคฌเคจเคจे เค•े เคฆिเคจ เคต เคธเคฎเคฏ เค•े เค†เคงाเคฐ เคชเคฐ ascending order เคฎें เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
        syntax – c:/student>dir/od↵
  10. Dir/os :- เค‡เคธ command เค•ा เค‰เคชเคฏोเค— files เคต directories เค•ी list เค•ो files เค•े size เค•े เค†เคงाเคฐ เคชเคฐ ascending order เคฎें เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏे เคœाเคคा เคนै|
        syntax – c:/student>dir/os↵
  11. Dir/o-n :- เค‡เคธ command เค•ा เค‰เคชเคฏोเค— files เคต directories เค•ी list เค•ो เค‰เคจเค•े เคจाเคฎ เค•े เค†เคงाเคฐ เคชเคฐ descending order เคฎें เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
        syntax – c:/student>dir/o-n↵
  12. Dir/o-e :- เค‡เคธ command เค•ा เค‰เคชเคฏोเค— fiels เคต directories เค•ी list เค•ो files เค•े extension name เค•े เค†เคงाเคฐ เคชเคฐ descending order เคฎें เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
        syntax – c:/student>dir/o-e↵
  13. Dir/o-s :- เค‡เคธ command เค•ा เค‰เคชเคฏोเค— files เคต directories เค•ी list เค•ो fiels เค•े size เค•े aadhar เคชเคฐ descending order เคฎें เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
        syntax – c:/student>dir/o-s↵
  14. Dir/o-d :- เค‡เคธ command เค•ा เค‰เคชเคฏोเค— files เคต directories เค•ी list เค•ो เค‰เคจเค•े เคฌเคจเคจे เค•े เคธเคฎเคฏ เค”เคฐ เคฆिเคจ เค•े เค†เคงाเคฐ เคชเคฐ descending order เคฎें เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|     syntax – c:/student>dir/o-d↵

7) Copy con :- เค‡เคธ command เค•ा เค‰เคชเคฏोเค— เคจเคˆ files เคฌเคจाเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax – copyร˜conร˜filename↵
    exp – copy con yash↵
    My name is yash.
    I live in Raipur.
    ^Z↵
    เคฏเคนाँ ctrl+z เค•ा use file เค•ो save เค•เคฐเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै| (↵) เคšिเคจ्เคน Enter เคช्เคฐเคฆเคฐ्เคถिเคค เค•เคฐเคคा เคนै|

8) Type :- เค‡เคธ command เค•ा เค‰เคชเคฏोเค— file เคฎें เคฒिเค–े matter เค•ो เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax – typeร˜filename↵
    exp – type yash↵

9) Ren or Rename :– เค‡เคธ command เค•ा เค‰เคชเคฏोเค— file เค•ा เคจाเคฎ change เค•เคฐเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax – ren ร˜ old file name ร˜ new file name↵
    exp – ren ravi rakesh↵

10) Copy :- เค‡เคธ command เค•ा เค‰เคชเคฏोเค— เคเค• เคฏा เคเค• เคธे เค…เคงिเค• file เค•ी copy เค•िเคธी เค…เคจ्เคฏ file เคฎें เค•เคฐเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax – copy ร˜ source file1+file target files↵
    exp – (a) copy rakesh manjeet↵
            or
    (b) copy sunil + rakesh sameer↵
    exp – (a) เคฎें rakesh file เค•े matter เค•ो เคจเคˆ file manjeet เคฎें เคฒे เคœाเคฏा เค—เคฏा เคนै| เคंเคต exp (b) เคฎें sunil เค”เคฐ rakesh file เค•े เคเค• เคชुเคฐाเคจी file sameer เค•े matter เคฎें copy เค•िเคฏा เค—เคฏा เคนै|

11) Del/Erase :- เค‡เคธ command เค•ा เค‰เคชเคฏोเค— files delete เค•เคฐเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax – del ร˜ file name↵
    syntax – Erase ร˜ file name↵
    exp – del rakesh↵
    exp – erase rakesh↵

12) Wild Cards :- Dos เคฎें เคช्เคฐเคฏोเค— เค•िเคฏे เคœाเคจे เคตाเคฒे เคตे เคšिเคจ्เคน เคœो เค•िเคธी เคเค• เค…เค•्เคทเคฐ เคฏा เค…เค•्เคทเคฐों เค•े เคธ्เคฅाเคจ เคชเคฐ เค‰เคชเคฏोเค— เค•िเคฏे เคœा เคธเค•เคคे เคนै เค‰เคจ्เคนें Wild Cards เค•เคนเคคे เคนै, เค‡เคจเค•ा เค‰เคชเคฏोเค— เคคเคฌ เค•िเคฏा เคœाเคคा เคนै เคœเคฌ เค•िเคธी Dos command เค•ा เค‡เคธ्เคคेเคฎाเคฒ เคซाเค‡เคฒों เค•े เคเค• เคธเคฎूเคน เคชเคฐ เค•िเคฏा เคœाเคจा เคนोเคคा เคนै|
    เค‡เคธเค•े เค…ंเคคเคฐ्เค—เคค เคฆो character เค†เคคे เคนै เคœिเคจเค•े เคช्เคฐเคฏोเค— เคธे เค•िเคธी เคตिเคถेเคท character เคฏा เค•ेเคตเคฒ extension file เคเคตं directories เค•ो เค–ोเคœा เคœा เคธเค•เคคा เคนै, เคฏे เค•िเคธी เค…เค•्เคทเคฐ เคฏा word เค•े เคธ्เคฅाเคจ เคชเคฐ เคช्เคฐเคฏोเค— เค•िเคฏे เคœाเคคे เคนै|

  1. *(star) – เค‡เคธเค•ा เคช्เคฐเคฏोเค— เคเค• เคธे เค…เคงिเค• character เค•ो เคฆเคฐ्เคถाเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
  2. ?( question mark ) เค‡เคธเค•ा เคช्เคฐเคฏोเค— เค•ेเคตเคฒ เคเค• character เค•ो เคฆเคฐ्เคถाเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
เค‰เคฆाเคนเคฐเคฃ –
  1. dir ร˜ *.* - เคฏเคน command เคธเคญी files เคต directories เค•ो เคฆिเค–ाเคฏेเค—ा|
  2. dir ร˜ a*.* - เคฏเคน command เค•ेเคตเคฒ a เคจाเคฎ เคธे เคถुเคฐू เคนोเคจे เคตाเคฒी files เคต directories เค•ो เคฆिเค–ाเคฏेเค—ा|
  3. dir ร˜*.bmp – เคฏเคน command bmp extension เคตाเคฒी เคธเคญी files เค•ो เคฆिเค–ाเคฏेเค—ा|
  4. dir ร˜m*.doc – เคฏเคน command m character เคธे เคถुเคฐू เคนोเคจे เคตाเคฒी เคต doc extension เคตाเคฒी files เค•ो เคฆिเค–ाเคฏेเค—ा|
  5. dir ร˜ ?a*.* - เคฏเคน command เค•ेเคตเคฒ เคเคธी files เคต directories เค•ो เคฆिเค–ाเคฏेเค—ा เคœिเคธเคฎे เคจाเคฎ เค•ा เคฆूเคธเคฐा เค…เค•्เคทเคฐ a เคนो|
  6. dir ร˜ ??n*.txt – เคฏเคน command เค•ेเคตเคฒ เคเคธी files เคต directories เค•ो เคฆिเค–ाเคฏेเค—ा เคœिเคธเค•े เคจाเคฎ เค•ा เคคीเคธเคฐा เค…เค•्เคทเคฐ เค•ुเค› n เคต extension name txt เคนो|
  7. dir ร˜ r?j*.* - เคฏเคน command เค•ेเคตเคฒ เคเคธी files เคต diretories เค•ो เคฆिเค–ाเคฏेเค—ा เคœिเคธเค•े เคจाเคฎ เค•ा เคฆूเคธเคฐा เค…เค•्เคทเคฐ เค•ुเค› เคญी เคนो เคฒेเค•िเคจ เคชเคนเคฒा เค…เค•्เคทเคฐ r เคต เคคीเคธเคฐा เค…เค•्เคทเคฐ j เคนो|
  8. dir ร˜ ?a.?a..* - เคฏเคน command เค•ेเคตเคฒ เคเคธी files เคต directories เค•ो เคฆिเค–ाเคฏेเค—ा เคœिเคธเคฎे เคจाเคฎ เค•ा เคฆूเคธเคฐा เค…เค•्เคทเคฐ เคต เคšौเคฅा เค…เค•्เคทเคฐ a เคนो เคต เค‡เคธเค•े เคธाเคฅ–เคธाเคฅ เค‰เคธ file เคต directory เค•ी เคฒเคฎ्เคฌाเคˆ เคชांเคš เค…เค•्เคทเคฐ เคธे เคœ्เคฏाเคฆा เคจ เคนो|
    Note :- เค‰เคชเคฐोเค•्เคค เค‰เคฆเคนाเคฐเคฃ เค…เคจुเคธाเคฐ Wild Cards เค•ा เค‰เคชเคฏोเค— Copy, Del, Move Dos command เค•े เคธाเคฅ เค•िเคฏा เคœा เคธเค•เคคा เคนै|

13) Batch file command :– Batch file เคเค• เคเคธी file เคนोเคคी เคนै เคœिเคธเคฎे command เค•ा เคธเคฎूเคน store เค•िเคฏा เคœाเคคा เคนै เคฏे เคธเคญी command เค…เคฒเค—-เค…เคฒเค— เคฒाเค‡เคจ เคฎें เคฒिเค–े เคœाเคคे เคนै |เค‡เคธ file เค•ा extension name .bat เคนोเคคा เคนै| Batch file เค•ा เคจिเคฐ्เคฎाเคฃ เค‰เคธ เคธ्เคฅिเคคि เคฎें เค•िเคฏा เคœाเคคा เคนै เคœเคฌ เคนเคฎें เค•िเคธी เค•ाเคฐ्เคฏ เค•ो เคฌाเคฐ-เคฌाเคฐ เคฏा เคฐोเคœ เค•เคฐเคจा เคนोเคคा เคนै เค‡เคธ เค•ाเคฐ्เคฏ เคธे เคธเคฎ्เคฌंเคงिเคค command เค‡เคธ file เคฎें store เค•เคฐ เคฆिเค เคœाเคคे เคนै เค”เคฐ เค•ेเคตเคฒ file เค•ा เคจाเคฎ เคฒिเค–เค•เคฐ เค‰เคจ command เค•ो เคฐเคจ เค•เคฐाเคฏा เคœा เคธเค•เคคा เคนै |
    example :- Date,Time, Vol เคฆेเค–เคจे เค•े เคฒिเค batch เคซाเค‡เคฒ เค•ा เคจिเคฐ्เคฎाเคฃ เค•เคฐเคจा|
    copy ร˜ con ร˜ today.bat↵
    cls↵
    Date↵
    Time↵
    Vol↵
    ^Z
    Batch file เค•ो เคฐเคจ เค•เคฐเคจे เค•े เคฒिเค today ↵
    >today↵ or run today↵

14) Pause :– เค‡เคธ command เค•ा use batch file เคฎें เคช्เคฐोเคธेเคธिंเค— เค•ो เคธ्เคฅाเคˆ เคฐूเคช เคธे เคฐोเค•เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै เคฏเคน เคจिเคฎ्เคจ เคธंเคฆेเคถ เคฆเคฐ्เคถाเคคी เคนै|
    “Press any key to continue..........”
    syntax - pause↵

15) Mkdir/Md :– เคจเคˆ directory เคฌเคจाเคจे เค•े เคฒिเค เค‡เคธ command เค•ा use เค•िเคฏा เคœाเคคा เคนै|
    syntax – md ร˜ new directory name↵
    exp – md ร˜ sunil↵

16) Rmdir/Rd :– เค‡เคธ command เค•ा use directory เค•ो เคฎिเคŸाเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै, เค•िเคจ्เคคु เค‰เคธ Directory เค•े เค…เคจ्เคฆเคฐ เค•ोเคˆ เคญी file เคจเคนी เคนोเคจी เคšाเคนिเค |
    syntax – rd ร˜ new directory name↵
    exp – rd ร˜ sunil↵

17) Rd/s :– เค‡เคธ command เค•ा use directory เค•ो file เคธเคนिเคค เคฎिเคŸाเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคां เคนै|
    syntax – rd/s ร˜ directory name↵
    exp – rd/s ร˜ sunil↵

18) Chdir/Cd :- เค‡เคธ command เค•ा use เค–ुเคฒी เคนुเคˆ directory เค•े เค…เคจ्เคฆเคฐ เคœाเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax – cd ร˜ old directory name↵
    exp – md ร˜ sanju↵

19) Cd.. :– เค‡เคธ command เค•ा use เค–ुเคฒी เคนुเคˆ directory เคธे เคตाเคชเคธ เค†เคจे เค…เคฐ्เคฅाเคค् เคฌเคนाเคฐ เคจिเค•เคฒเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax – cd..↵
    exp – cd..↵

20) Cd\ :- เค‡เคธ command เค•ा use root directory เค…เคฐ्เคฅाเคค् c drive เคฎें เค†เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax – cd\↵
    exp – cd\↵

21) Sort :– เค‡เคธ command เค•ा use file เคฎें เคฒिเค–े matter เค•ो ascending order เคฎें sorting เค•เคฐเค•े เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax – sort ร˜ file name↵
    exp – sort ร˜ city↵

22) Sort/r :– เค‡เคธ command เค•ा use file เคฎें เคฒिเค–े matter เค•ो descending order เคฎें sorting เค•เคฐเค•े เคฆेเค–เคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    syntax – sort/r ร˜ file name↵
    exp – sort/r ร˜ city↵

23) Prompt :– เค‡เคธ command เค•ा use prompt change เค•เคฐเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
    c:\student> เค‡เคธे prompt เค•เคนเคคे เคนै|
    prompt commands เค•े เค…เคจ्เคฆเคฐ เคจिเคฎ्เคจเคฒिเค–िเคค commands เค†เคคे เคนै -

  1. Prompt$d :– เค‡เคธ command เค•े use เคธे current prompt เค•ी เคœเค—เคน system เค•ी date เค† เคœाเคเค—ी|
        syntax – prompt ร˜ $d↵
  2. Prompt$t :– เค‡เคธ command เค•े use เคธे current prompt เค•ी เคœเค—เคน system เค•ी time เค† เคœाเคเค—ी|
        syntax – prompt ร˜ $t↵
  3. Prompt$v :– เค‡เคธ command เค•े use เคธे current prompt เค•ी เคœเค—เคน system เค•ी version เค† เคœाเคเค—ी|
        syntax – prompt ร˜ $v↵
  4. Prompt$b :– เค‡เคธ command เค•े use เคธे current prompt เค•ो pipe symbol (|) เคฎें change เค•เคฐ เคฆेเคคा เคนै|
        syntax – prompt ร˜ $b↵
  5. Prompt$g :– เค‡เคธ command เค•े use เคธे current prompt เค•ो greater than sing(>) เคฎें change เค•เคฐ เคฆेเคคा เคนै|
        syntax – prompt ร˜ $g↵
  6. Prompt$I :– เค‡เคธ command เค•े use เคธे current prompt เค•ो less than sing(<) เคฎें change เค•เคฐ เคฆेเคคा เคนै|
        syntax – prompt ร˜ $l↵
  7. Prompt$word :– เค‡เคธ command เค•े use เคธे current prompt เค•ो เค•िเคธी word เคฎें change เค•เคฐ เคฆेเคคा เคนै|
        syntax – prompt ร˜ word↵
        exp – prompt ร˜ yash↵
  8. Prompt$$ :– เค‡เคธ command เค•े use เคธे current prompt เค•ो dollar sing ($) เคฎें change เค•เคฐ เคฆेเคคा เคนै|
        syntax – prompt ร˜ $$↵
  9. Prompt$ :– เค‡เคธ command เค•े use เคธे current prompt เค•ो เคนเคŸाเคจे เค•े เคฒिเค เคฏा เคนเคŸाเคจे เค•ा เค•ाเคฐ्เคฏ เค•เคฐเคคा เคนै เค‡เคธเคฎें prompt เค•ी เคœเค—เคน เค•ुเค› เคญी เคจเคนीं เคฐเคนเคคा เคนै|
        syntax – prompt ร˜ $↵
  10. Prompt :– เค‡เคธเคฎें current prompt เค•ी เคœเค—เคน original prompt เค† เคœाเคคा เคนै|
        syntax – prompt↵
  11. Prompt$p :– เค‡เคธ command เค•े use เคธे current prompt เค•े เคธ्เคฅाเคจ เคชเคฐ actual prompt เคฒाเคจे เค•े เคฒिเค เค•िเคฏा เคœाเคคा เคนै|
        syntax – prompt ร˜ $p↵
C:\Student> prompt/?↵
$A - &(impulsion)
$B - | (pipe)
$C - ( (left paranthesis)
$D - current date
$E - escape code
$F - ) (right paranthesis)
$G - > (greater than)
$H - backspace
$L - < (smaller than)
$N - current drive
$P - current drive and path
$Q - = (equal sign)
$S - space
$T - current time
$V - window XP version number
$- - carriage return and linefeed
$$ - $(dollar sign)

Internal Command External Command

Post a Comment

If you have any doubts,Please let me know

close