Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 2 Mar 2002 02:26:49 -0800 From: Wade Brainerd X-Mailer: The Bat! (v1.53d) Reply-To: Wade Brainerd Organization: Treyarch Inc X-Priority: 3 (Normal) Message-ID: <14493710187.20020302022649@wadeb.com> To: cygwin AT cygwin DOT com Subject: changing the working directory from a c program MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, I'm aware that this is a troublesome issue and hard to do on all platorms (Win32, various Unix's) but I'm asking anyway :) Under Cygwin, is there any way for a C program to change the current working directory of the shell that executed it? My best bet so far is to wrap the C program in a script. Thanks, Wade Brainerd www.wadeb.com -- 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/