Re: getParentDirectory



Huub <"v.niekerk at hccnet.nl"> wrote (Wednesday 26 October 2005
20:58):

> According to the API, getParentDirectory(File dir) returns the
> parent directory of dir. Does this mean that if I look for a
> filename "dir", it will return the name of the directory in
> which the file is?

What happened when you last tried it?

Cheers,
Koos
.



Relevant Pages

  • Re: Un-erasable folder
    ... fact that CMD uses the Unicode versions of the file management functions. ... >> Since the folder/file name has a space character within it, ... >> to enclose the entire filename (including the path if you are not in its ... >> parent directory). ...
    (microsoft.public.windows.file_system)
  • Re: Un-erasable folder
    ... >>> to enclose the entire filename (including the path if you are not in its ... >>> parent directory). ... >> Enclose IN QUOTES, of course. ... Like the former deltree command. ...
    (microsoft.public.windows.file_system)
  • getParentDirectory
    ... According to the API, getParentDirectoryreturns the parent directory of dir. Does this mean that if I look for a filename "dir", it will return the name of the directory in which the file is? ... Huub ...
    (comp.lang.java.gui)
  • Re: getParentDirectory
    ... >According to the API, getParentDirectory(File dir) returns the parent ... >directory of dir. Does this mean that if I look for a filename "dir", ... Prev by Date: ...
    (comp.lang.java.gui)
  • Re: Determine if "Hide extensions for known file types" is active
    ... I am working with another Windows application ... that has a function that returns the filename as part of its API. ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)