This is the mail archive of the cygwin@cygwin.com 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]

Startup in win32


Hi all,

I sincerely hope that this is an active list.  My question is this:
Is there a  way to create a batch script or perl script in Windows NT that
starts the cygwin bash shell and sets the starting directory? Something
along the lines of (perl):
	exec "c:\\cygwin\\bin\\bash -dc:\\myStartDir" or die "bummer
dude:$!\n";

or (bat):
	start c:\cygwin\bin\bash -dc:\\myStartDir

where -d specifies the directory to start (I know -d isn't it, just tell me
how).

Any and all assistance appreciated.

Thanks,

Will
mailto:wdsenn@home.com

btw: I know this is ignoring many security issues, consider this a
single-user installation...

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]