This is the mail archive of the
mailing list for the Cygwin project.
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 17 Jan 2006 15:07:37 -0000
- Subject: RE: support
Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> [I hate it when simple instructions aren't followed - I explicitly said
> that the list was the correct place for support...]
Nilgun, I won't want private mail either; keep it to the list please.
>> I am a new user for Cygwin and trying start a CAD program (UGNX2) in
>> Windows by scripting in csh. Normally I run 2 batch files for required
>> libraries and the paths in command prompt window of Windows. Then run
>> the main batch file (ugii.bat) to start the program and it really starts
>> Whereas when I do the same things in csh, an error message appears as
>> Cannot find the file '\ugraf.exe' (or one of its components). Make sure
>> the path and filename are correct and that all required libraries are
>> You can find the ugii.bat in the attached file.
>> ugraf.exe file is in the same folder with ugii.bat file. But I dont
>> understand why the same script works in command prompt and does not work
>> in csh...
> If you want help with your csh script, then attach the csh script, not the
> Windows .bat file. And remember that in cygwin, you should be using POSIX
> paths, such as ./ugraf.exe, since backslashes in Windows paths require
> extra escaping that make them tougher to use.
And also remember that in shell scripting most commands run in a sub shell,
and as soon as that subshell exits any changes made to its environment are
lost, so you need to source those files with the environment variable settings
rather than invoke them as standalone command lines.
Can't think of a witty .sigline today....
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html