Solved

C shell script in MSDOS

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Using unmanaged DLL from managed application 14 295
Problem to scan all sheets 3 111
Arduino EDI - Programming language 3 103
C++ :Change value from  DisableCMD registry 4 66
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…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand opening and reading 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.

828 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