?
Solved

C shell script in MSDOS

Posted on 1998-10-14
5
Medium Priority
?
504 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 150 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
Suggested Courses

850 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