-->

  • what is batch file in hindi

    What is Batch file and how to create it explain in Hindi

    What is a batch files?

    Batch Files Kya hai : Batch file एक text file होती है जिसमे की computer के commands save होते है and इसको batch file इसलिए ही कहा जाता है क्योकि इसमे set of commands का bundle एक single file मे save होता है जिनको की अगर batch file मे नहीं रखे तो एक एक करके execute करना पड़ेगा | Generally batch file वहाँ पर create की जाती है जहाँ आपको किसी sequence of commands को execute करने की बार बार जरुरत पड़ती हो | Batch file को execute करने के लिए या तो आप file को double click करे या फिर file का नाम command line पर type करके भी execute कराया जा सकता है | इस प्रकार batch file एक ऐसी text file है जिसमे एक या ज्यादा computer task एक fixed specific order मे execute कराये जा सकते है |

    Batch file कौन use करता है : बैच फाइल system admin or computer professionals के लिए बहुत ही simple, important एवेम powerful tool है जो की computing and information systems मे use करते है | Batch files computer industry मे professionals अपने day to day के काम को automated करने के लिए use करते है | कोई भी task जो की computer पर run किया जा सकता हो जैसे की creating/moving/renaming folders एवेम files से लेकर किसी program/feature को start करने के लिए इसको use किया जा सकता है | इसको use करके multiple task को automated करने से professionals अपना time save करते है |



    Batch File को कैसे identify करेंगे : जब भी किसी बैच फाइल को create किया जाता है तो उसके लिए file का extension .bat or .cmd use किया जाता है | यह extension computer को बताता है की ये file क्या है एवेम इसको किस तरह से execute करना है | यह extension ही बैच फाइल की पहचान है | 
    Example of Batch File : – DOS मे एक batch file use मे आती है जिसका extension “.BAT” होता है | जब आप system start करते है तो DOS को initialize करने वाली batch file AUTOEXEC.BAT होती है | UNIX based operating systems मे batch file को shell script एवेम IBM’s mainframe VM operating systems मे EXEC कहा जाता है |
    How to Create a BAT file : बैच फाइल create करने के लिए desktop पर right click करके click on New and select “text document”. इस text file of open करने के बाद आप जो भी command execute करना चाहते है वो इस file मे copy or type कर दे – जैसे की हम निचे दी गयी commands line इस file मे save कर रहे है –

    @echo off
    title I am writing my first batch script!!
    echo Welcome friend – This is batch script !!
    pause

    अब इस file को आप save कर दे | ध्यान रहे file का first name कुछ भी हो लेकिन extension name .bat ही रखे | एक बार file का extension change करते ही file का Icon भी change हो जायेगा | This is your new बैच फाइल |





    * Related Topics  *

    * Batch script CMD Define ? 


    * What is Batch File in Hindi ?




     
  • 0 comments:

    Post a Comment

    For Any Tech Updates, Hacking News, Internet, Computer, Technology and related to IT Field Articles Follow Our Blog.