Re: Download Cygwin once and intall it several times

2008-07-28 Thread Mirco Piccin
Hi! I do something similar some days ago. Also i try to copy the installation folder in another pc, but once launched the bash console, i was not able to do anything. The only way i find usefull is to download packages in local, then copy the installer and the local repository folder in the seocnd

Re: Cygwin - batch file

2008-01-25 Thread Mirco Piccin
Hi > my start.bat is in the folder C:\batch ok > when i call start.bat , cygwin automatically goes into the folder > C:\Documents and Settings\user . cygwin goes there because that is your home folder. > so myscript.ksh file must be in C:\Documents and Settings\user. > i want to have myscript.

Re: Cygwin - batch file

2008-01-25 Thread Mirco Piccin
Sorry but my english is quite poor, so i don't understand well your question. So, correct me if i'm going wrong. > it works perfect, but i have to give the cygwin script under C:\Documents > and Settings\user myscript.ksh! > > how can i make it to have a directory, for eg C:\mybatchconversion wher

Re: Cygwin - batch file

2008-01-25 Thread Mirco Piccin
Hi. > i'm trying to write a batch file, which open cygwin, automatically execute a > script in cygwin, and then close cygwin. as reported in a my old post, that's what i've done: i've created a file .bat (example: run_command.bat) on my desktop and inside that (supposing you install cygwin in you

Re: How can I run a script?

2008-01-14 Thread Mirco Piccin
Hi. > I also assume if running in a windoze envirment it needs to end with > *.bat extension since windoze doesn't have a clue what *.sh is? ...sure, as reported on my first post. Regards M -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.co

Re: How can I run a script?

2008-01-14 Thread Mirco Piccin
Hi again. > The base install of cygwin is on an E: drive. C: didn't have enough room. > > So if I understand correctly something like - > > > E: > > chdir E:\cygwin\bin > > bash --login -i -c 'rsync -avz [EMAIL PROTECTED] :/home/funnel/Jan* > /cygdrive/e/Earchives' ...yes, it seems right. > The

Re: How can I run a script?

2008-01-14 Thread Mirco Piccin
Hi. > can login to a shell from windows and run commands but how do I create a > script I think you mean to run a command without open cygwin shell. If i understand well, here you are how i've done that. First of all, i've created a file .bat (example: run_rsynch.bat) on my desktop .. and insid

Re: Remote Linux desktop in my Cygwin windows PC

2008-01-02 Thread Mirco Piccin
Hi all. > > I'm really basic with Linux. I'm running remote applications with: > > > > xhost > > ssh > > export DISPLAY > > > > So I'm using Eclipse, gedit, firefox, ... like this for example in my > > windows. Now I'm curios if I'm able to have the full desktop of my > > Linux machine like a wind

Re: Remote Linux desktop in my Cygwin windows PC

2008-01-02 Thread Mirco Piccin
Hi all. > > I'm really basic with Linux. I'm running remote applications with: > > > > xhost > > ssh > > export DISPLAY > > > > So I'm using Eclipse, gedit, firefox, ... like this for example in my > > windows. Now I'm curios if I'm able to have the full desktop of my > > Linux machine like a wind