Solved

C shell script in MSDOS

Posted on 1998-10-14
8
358 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
8 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 1253517
If you've got a C Shell for DOS, the OS makes no difference...
0
 
LVL 2

Expert Comment

by:shchuka
ID: 1253518
If on the other hand you have a plain DOS prompt, what you will write is DOS batch file - and about 5-7 years ago you get the info on this from Microsoft - I'm not sure if they still provide it.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1253519
what do you want to do?

  writing a script for csh (C-Shell)
  writing a program in C and then compile and execute it
  writing a DOS batch script
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 8

Expert Comment

by:MaDdUCK
ID: 1253520
you should delete this thread and only work on the other one.
if you want it deleted, tell me, post a question in The Lounge or email linda@experts-exchange.com. The question ID is 10088884.
0
 
LVL 84

Expert Comment

by:ozo
ID: 1253521
no answer has yet been proposed, so you can still delete this question yourself
0
 
LVL 8

Expert Comment

by:MaDdUCK
ID: 1253522
true :-)
0
 
LVL 1

Expert Comment

by:newexpert
ID: 1253523
Just write a couple of
system("One command line as in batch file"); in your main().  That'll do exactly what a batch file does, slowly ...
0
 

Accepted Solution

by:
mabo earned 50 total points
ID: 1253524
goto http://www.cygnus.com/ and download gnu tools for win/dos
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
List out all word 7 293
Arduino EDI - Programming language 3 95
How to install SVN Command Line Client? 5 67
Windows 2012 R2 -- create 3.5TB GPT from unallocated space ? 1 32
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…
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.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

810 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