This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin - batch file


i understand a little bit your answer but it dont works right now!

my start.bat is in the folder C:\batch

when i call start.bat , cygwin automatically goes into the folder
C:\Documents and Settings\user .
so myscript.ksh file must be in C:\Documents and Settings\user.

i want to have myscript.ksh file in the C:\batch folder!
do u understand what i mean?

and i only can start my script with ./myscript.ksh

it should looks like this:

>>
C:

chdir C:\cygwin\bin

bash --login -i -c 'c:/batch./myscript.ksh'
<<

-- 
View this message in context: http://www.nabble.com/Cygwin---batch-file-tp15088393p15091210.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]