Solved

C shell script in MSDOS

Posted on 1998-10-14
5
444 Views
Last Modified: 2010-04-15
i need to write shell script in C under DOS environment, where can i find tutorials and introduction materials? all the books with net search talking about cshell in unix.
0
Comment
Question by:smiley020999
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 1

Expert Comment

by:Musashi
ID: 1253512
In DOS, a shell script is basically a batch file (eg, myfile.bat).
So, writing a shell script in C under DOS environment really makes no sense.
0
 
LVL 3

Expert Comment

by:braveheart
ID: 1253513
Or do you mean that you want a version of the UNIX C-shell (csh) to run under DOS?  DOS is not powerful enough to mimic much of the csh functionality but you may find a minimal port somewhere on the net.
0
 
LVL 8

Accepted Solution

by:
MaDdUCK earned 50 total points
ID: 1253514
If you need to write C code in DOS, then chack out www.djgpp.com for the best DOS C compiler out there. If you have any questions, then ask...

MaDdUCK
0
 
LVL 1

Expert Comment

by:Musashi
ID: 1253515
I get an error for www.djgpp.com
0
 
LVL 8

Expert Comment

by:MaDdUCK
ID: 1253516
sorry, it is www.delorie.com. The product is called DJGPP though.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question