Solved

C shell programming in DOS

Posted on 1998-10-15
4
447 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 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

Independent Software Vendors: 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

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…
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 and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

707 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