Newbie Cygdrive questions
Andrey Repin
anrdaemon@yandex.ru
Fri Feb 7 13:05:00 GMT 2014
Greetings, Mike Rushton!
Please don't http://cygwin.com/acronyms/#TOFU
> What would you say to this ?
> I have to use an EDI translator - it runs under windows/dos and had unix
> versions
If it have UNIX version, perhaps, a Cygwin package for it exists, or it can be
compiled.
> I was trying this ... but the program needed to see the path of a config
> file ... after the -cp switch.
> /cygdrive/c/gentran61SA/lftran /cygdrive/c/gentran61sa/data/EDN -id -cp /cygdrive/c/Gentran61SA
As one of possible solutions:
/cygdrive/c/gentran61SA/lftran "$( cygpath -lw /cygdrive/c/gentran61sa/data/EDN )" -id -cp "$( cygpath -lw /cygdrive/c/Gentran61SA )"
> It gave me errors can not open file /cygdrive/c/Gentran61SA\ediprim.cfg. It was like the program could not figure out
> what style of paths to use.
> I changed it to : (escape out of bash and run this code)
> ! c:/gentran61SA/lftran c:/gentran61sa/data/EDN -id -cp c:/Gentran61SA
> and it worked perfectly. Is there a better way to do this ?
"Better" in this case is subjective.
--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 07.02.2014, <16:50>
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list