This is the mail archive of the
mailing list for the Cygwin project.
run a tcsh script file with arguments from windows
- From: "Tony B" <tagb61 at yahoo dot co dot uk>
- To: cygwin at cygwin dot com
- Date: Tue, 19 Jun 2007 17:04:15 +0100
- Subject: run a tcsh script file with arguments from windows
I have written small csh script file which takes a filename as an argument,
modifies the file, and writes it back over the input file.
Now I want to write a small dos command batch file to call the cshell, and
execute the script file, but I'm stuck on how to pass the filename to the
If I execute
tcsh -c scriptfile inputfile
tcsh uses inputfile as an argument to itself, not as an argument to the
So if I run this command, I get a useage error from the script as it expects
a filename ?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html