Solved

C shell programming in DOS

Posted on 1998-10-15
4
431 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
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…
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 switch statements in the C programming language.

743 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

16 Experts available now in Live!

Get 1:1 Help Now