Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

C shell programming in DOS

Posted on 1998-10-15
4
Medium Priority
?
453 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
[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
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 100 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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 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 while-loops in the C programming language.

604 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