am trying to run the cygwin command in a windows batch file, however, the cygwin command only reaches to the cygwin interactive promt.
my code is as follows in the windows bat file
@echo off C: chdir C:\cygwin\bin bash --login -i split -l 1 test.txt logoff exit it only reaches to the command interface for cygwin/linux command prompt reached
xaaafter this script finishes. Is there a file namedtext.txtresiding inC:\cygwin\bin? or does the login viabashautomatically change the current working directory to another one? Or are you expecting that the commands which followbash …are all executed withinbash, despite those lines being invoked undercmd?