Re: Newbie Cygdrive questions

2014-02-07 Thread Andrey Repin
Greetings, Mike Rushton! > What about a Secure Shell client to transfer files and to get a secure > session going, does Cygwin have that ? I see other people's emails > about ssh but am not sure if this is what I am looking for. It is. -- WBR, Andrey Repin (anrdae...@yandex.ru) 07.02.2014, <1

Re: Newbie Cygdrive questions

2014-02-07 Thread Andrey Repin
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 t

Re: Newbie Cygdrive questions

2014-02-06 Thread Mike Rushton
Good ... I will have to work with that Cygpath and see what kind of results that I get. I am unsure how this program is going to respond. I may have to just do the shell escape and execute the invocation of gentran if the program can not figure out where the location of its configuration files

Re: Newbie Cygdrive questions

2014-02-06 Thread Larry Hall (Cygwin)
On 2/6/2014 8:05 PM, Mike Rushton wrote: I see. What would you say to this ? I have to use an EDI translator - it runs under windows/dos and had unix versions I was trying this ... but the program needed to see the path of a config file ... after the -cp switch. /cygdrive/c/gentran61SA/lftra

Re: Newbie Cygdrive questions

2014-02-06 Thread Mike Rushton
I see. What would you say to this ? I have to use an EDI translator - it runs under windows/dos and had unix versions 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

Re: Newbie Cygdrive questions

2014-02-06 Thread Andrey Repin
Greetings, mrushton! > Ok ... I am converting my scripts and making progress. > But I have a question. > My old shell software would let me have a path as : > X:/INBOUND/CWSCRIPTS/myscript.sh > To access this shared X drive under Cygwin it seems I have to do this : > /cygdrive/X/INBOUND

Re: Newbie Cygdrive questions

2014-02-06 Thread Mike Rushton
That is good to know about that utility Cygpath. Maybe I will try it. What I was doing was going thru some scripts ... changing the paths ... clean in up stuff ... over the years I ended up with a lot of commented out sections of code ... and testing them. And this is a different approach

Re: Newbie Cygdrive questions

2014-02-06 Thread David Conrad
It may be useful to know, if you do not already, that the cygpath utility can be used to convert between Windows and Unix paths. cygpath -u X:/INBOUND/CWSCRIPTS/myscript.sh will give you /cygdrive/x/INBOUND/CWSCRIPTS/myscript.sh, and cygpath -w /cygdrive/x/INBOUND/CWSCRIPTS/myscript.sh will giv

Re: Newbie Cygdrive questions

2014-02-06 Thread Richard
On Thu, 6 Feb 2014, mrushton wrote: To access this shared X drive under Cygwin it seems I have to do this : /cygdrive/X/INBOUND/CWSCRIPTS/myscript.sh Is this correct ? Is there a better way ? And C: seems to be /cygdrive/C/ A BETTER way? This has nothing per se to do with Cygwin, but,

Re: Newbie Cygdrive questions

2014-02-06 Thread Larry Hall (Cygwin)
On 2/6/2014 1:53 PM, mrushton wrote: Ok ... I am converting my scripts and making progress. But I have a question. My old shell software would let me have a path as : X:/INBOUND/CWSCRIPTS/myscript.sh To access this shared X drive under Cygwin it seems I have to do this : /cygdrive/X/INBOUND

Newbie Cygdrive questions

2014-02-06 Thread mrushton
Ok ... I am converting my scripts and making progress. But I have a question. My old shell software would let me have a path as : X:/INBOUND/CWSCRIPTS/myscript.sh To access this shared X drive under Cygwin it seems I have to do this : /cygdrive/X/INBOUND/CWSCRIPTS/myscript.sh Is this c