Results 1 to 5 of 5

Thread: [RESOLVED] Exploring directories

Threaded View

  1. #1

    Thread Starter
    Addicted Member Fonty's Avatar
    Join Date
    May 2006
    Location
    New York
    Posts
    173

    Resolved [RESOLVED] Exploring directories

    I'd like to be able to depend only in the hierarchy of the directories of my project files and no in which computer, unit or server the whole project is located.
    For most of the file paths I use Application.CurrentProject.Path (in this case for Access).
    Suppose your file lies in directory H:\XXX\YYY\ZZZ
    But in H:\XXX\ you have either:
    1. H:\XXX\YYY, and
    2. H:\XXX\RRR

    Is it possible to get the current directory string, go up two directories and then just add to this string "RRR" so that you are now in H:\XXX\RRR?
    This should be possible by manipulating the string and searchin character \.. but is there some other way to programm this?
    Last edited by Fonty; May 9th, 2007 at 11:11 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width