Link to home
Start Free TrialLog in
Avatar of smiley020999
smiley020999

asked on

C shell script in MSDOS

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.
Avatar of jkr
jkr
Flag of Germany image

If you've got a C Shell for DOS, the OS makes no difference...
Avatar of shchuka
shchuka

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.
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
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.
no answer has yet been proposed, so you can still delete this question yourself
true :-)
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 ...
ASKER CERTIFIED SOLUTION
Avatar of mabo
mabo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial