delorie.com/archives/browse.cgi | search |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |