Solved

C shell script in MSDOS

Posted on 1998-10-14
5
409 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
  • 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

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…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now