Re: Parent folder from file

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



> Do you have the full path to the file? You can use Left(FullPath,
> Len(FullPath) - Len(Dir(FullPath))) to get only the folder if you have
> access to the file, or you can use InStrRev to find the last slash.

This is the right approach. Thanks !

Robertico


.



Relevant Pages

  • Re: Parent folder from file
    ... > How to find the parent folder from a file? ... Prev by Date: ...
    (microsoft.public.vb.general.discussion)
  • Re: null is not a valid Win 32 application
    ... The /a switch is just what Beth told you to use: ... >>Note the space before the forward slash. ... Microsoft MVP ... The Office\Startup folder is located in the> Office installation path and your Word Startup folder> location can be found under Tools/Options/File Locations. ...
    (microsoft.public.word.application.errors)
  • Re: Using VB to rename and move files ?
    ... That is daft. ... > The whole concept of making the filepath reflect the count of files ... Does it actually change the folder name ... Prev by Date: ...
    (comp.lang.basic.visual.misc)
  • Re: Is it possible to get the user rights from an exchange public folder from its security descripto
    ... As for the security descriptor: ... i have two problems with exchange public folders. ... this folder by using webdav, because the folder in den middle has also ... The Problem with the slash is, ...
    (microsoft.public.exchange2000.development)
  • Re: outlook user cant open or save file...
    ... >> check your permissions for the folder. ... >> In this case there were 2 word docs. ... Prev by Date: ...
    (microsoft.public.windows.server.sbs)