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 Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <41355B27.6010301@x-ray.at> Date: Wed, 01 Sep 2004 07:16:23 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a2) Gecko/20040714 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Python os.path.join inconsistency? References: <413384A1 DOT 7080509 AT alltel DOT net> <20040830195455 DOT GC15021 AT trixie DOT casa DOT cgf DOT cx> <4133873F DOT 8090606 AT alltel DOT net> In-Reply-To: <4133873F.8090606@alltel.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Ken Dibble schrieb: > I guess my limited experience (including not being a windows programmer) > colored my perception. > > I had never been able to get any Windows variant I was exposed to, > to accept a forward slash. So much for my recall device of > Unix Forward, Windows Backward. Win95 derivates accept only backward, WinNT since always forward slashes also. All the WinAPI functions and all winnt commands. cmd.exe knows about it, command.com not, most older shells try to take the first "/" as argument delimiter. (stupid command.com habits) [n:\]bin/ls 4DOS/NT: Unknown command "BIN" [n:\]ls /bin/ls /bin/ls Some homegrown scripts or python or perl or php libs probably not. Who knows on which they decide to split their args and paths. If they just pass the paths verbatim to the underlying API, it should work okay. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- 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/