Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8361717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:45:36+00:00 2026-06-09T11:45:36+00:00

Is it possible to make batch file for compiling the code in MS cobol

  • 0

Is it possible to make batch file for compiling the code in MS cobol 2.20 ?

For example I have a small program and then I want to compile this in using the command

COBOL FILENAME;

But I want the command to be shorter so that no need for me to type the word COBOL.

This is what I want.

For example like this:

                 C filename; //this will compile now the program

And to run the program I want also to use one letter.

                  r filename; //this will run my program
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T11:45:37+00:00Added an answer on June 9, 2026 at 11:45 am

    open your favourite texteditor (for example notepad) and type:

    COBOL %1;
    

    and now save this as c.cmd in the same folder as where your COBOL source file is.

    You can now type

    c yourcobolfile.src

    to compile your program

    for running your program:
    open your favourite texteditor (for example notepad) and type:

    RUN %1
    

    and now save this as r.cmd in the same folder as where your COBOL source file is.

    You can now type

    r yourcobolfile

    to run your program

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: How to call one batch file after another I have a batch
is it possible to make a batch file that sets the position of the
Is it possible to make a batch file which can make a persistent change
Possible Duplicate: Make error: missing separator I am so stressed out by this silly
Is it possible to make a Func delegate an extension method? For example, just
I have a large xml file (1Gb). I need to make many queries on
is possible make insert in the table with only one column and this column
I want to know if its possible to get the return value from batch
I was wondering if theres a way to make a batch file that uses
I need to make a batch of writes to the same file but at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.