Logo 
Search:

Dos Articles

Submit Article
Home » Articles » Dos » BatchRSS Feeds

BATCH FILE SHOWING THE USAGE OF CALL COMMAND

Posted By: Milind Mishra     Category: Dos     Views: 3123

BATCH FILE SHOWING THE USAGE OF CALL COMMAND.

Code for BATCH FILE SHOWING THE USAGE OF CALL COMMAND in Dos

REM  CALL     HELPS TO RUN ANOTHER BATCH FILE FROM OTHER BATCH FILE.

REM           BATCH FILE STARTS..............

ECHO THIS IS THE BATCH FILE SHOWING THE USE OF CALL COMMAND.
ECHO PRESS 1 TO CHECK WHETHER THE FILE EXIST OR NOT.
ECHO PRESS 2 FOR CHECKING TIME AND DATE.


if"%1"=="1" GOTO fa
    goto tr
    goto exit


:fa
     call ass1.bat
     goto exit

:tr 
     if"%1"=="" (
     ECHO No commandline parameter entered.Syntax : ass3 parameter
     GOTO exit
     ) ELSE (
     call ass2.bat
     goto exit
     )

:exit
@echo on
  
Share: 


Didn't find what you were looking for? Find more on BATCH FILE SHOWING THE USAGE OF CALL COMMAND Or get search suggestion and latest updates.

Milind Mishra
Milind Mishra author of BATCH FILE SHOWING THE USAGE OF CALL COMMAND is from India.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!