MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: $PathnameSeparator and DirectoryName

  • To: mathgroup at
  • Subject: [mg71150] Re: $PathnameSeparator and DirectoryName
  • From: "Jens-Peer Kuska" <kuska at>
  • Date: Thu, 9 Nov 2006 03:38:43 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <eisenq$m68$>


a) you are not able to give us the code that you 
use ?
b) a file form a unix file system will under 
Windows have
   backslashes  and you don't need this
c) Windows understand path names with a slash, 
   c:/Windows/System32 will work and mixture of 
back and forward
   slashes c:\Windows/System32 will work as well

so it is total useless what you are doing and 
finaly why not use
StringReplace[string, "\\"->"/"]

"Chris Chiasson" <chris at> schrieb im 
Newsbeitrag news:eisenq$m68$1 at
| Why is it that reading in a list of Unix file 
path strings, Blocking
| $PathnameSeparator = "/" and (underneath the 
Block) using
| DirectoryName on the paths doesn't work on 
Windows' Mathematica? It
| just returns empty strings.
| -- 

  • Prev by Date: [Admin] Mailing list duplicates etc
  • Next by Date: Re: Points sampled by FindMinimum
  • Previous by thread: Re: $PathnameSeparator and DirectoryName
  • Next by thread: Pythonika: Python in Mathematica