Solved

C shell programming in DOS

Posted on 1998-10-15
4
440 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:wini072297
  • 2
4 Comments
 

Expert Comment

by:lestat007
ID: 1253553
Could you clearify your question?  I don't understand if you're talking about writing a CSH (C shell) script or writing a shell script from a "C" program?

Either way, if you want to run a shell script (SH, CSH, KSH, etc.) under DOS you'll have to aquire a DOS based shell command interpreter like GNU (free) or MKS (not-free).
0
 
LVL 3

Expert Comment

by:braveheart
ID: 1253554
Hey, how many more times are you going to clutter up this topic area with the same badly phrased question?  Get your act together.
0
 

Expert Comment

by:lestat007
ID: 1253555
Brave Heart,
I can almost hear that Scottish temper through your words.

LOL!

-- Craig  (½ Scottish myself)
0
 
LVL 1

Accepted Solution

by:
billyh earned 50 total points
ID: 1253556
Sorry friend, MS DOS does not have a C - shell. UNIX is a bigger and more powerful OS than DOS or Windows and hence more features.

MS DOS is an open-OS meaning what it does not have other programers develop to enhace. The only solution is to get a C/C++ compiler than you could use in DOS. I could suggest Borland Turbo C.

Hope I helped.
0

Featured Post

Technology Partners: 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

Suggested Solutions

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
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…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

730 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