Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <936D4BD1146DD3119A3B00508B714FF9029B92BE@acsretailexch1.acs-inc.com> From: "Senn, William" To: "'cygwin AT cygwin DOT com'" Subject: Startup in win32 Date: Tue, 23 Oct 2001 13:20:24 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" 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 AT home DOT 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/