Solved

C shell script in MSDOS

Posted on 1998-10-14
5
387 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 50 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
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 opening and writing to files in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

760 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

18 Experts available now in Live!

Get 1:1 Help Now