User Tag List

Results 1 to 5 of 5

Thread: relative path quickie question...

  1. #1
    No Products Registered

    Join Date
    May 2007
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    relative path quickie question...

    Lets say I have the following folder structure:


    d:\dira\dirb\dirc\dird

    The app "lives" in dirc.


    to access a file in dird(file.txt), I use appdrive$+appdir$+ "./dird/foo.txt"



    What should I use to access "d:\dira\file.txt"?
    (I know two dots (..)are involved... ;P)

    thanks in advance!

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Tiny's Avatar
    Join Date
    Jul 2006
    Location
    Sweden
    Posts
    598
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: relative path quickie question...

    I would use appdrive$+"/dira/file.txt"

    And for the first version I'd use appdrive$+appdir$+"dird/foo.txt"

  3. #3
    No Products Registered

    Join Date
    May 2007
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: relative path quickie question...

    Quote Originally Posted by Tiny
    I would use appdrive$+"/dira/file.txt"

    How would you do it if you used Appdrive$+Appdir$ + "*"

    (what would you put in the *)?

  4. #4
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeå, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: relative path quickie question...

    If I got your directory structure correct... this should work

    appdrive$ + appdir$+ "..\..\file.txt"

    "..\" moves back one step in the dir structure

  5. #5
    No Products Registered

    Join Date
    May 2007
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: relative path quickie question...

    Thanks for the help!

Similar Threads

  1. How to change path movement relative to another object's location?
    By LeanGamer in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 5th June 2013, 08:17 AM
  2. Active Picture & Relative Path
    By ffomega in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 3rd October 2010, 07:53 PM
  3. Relative path to audio?
    By Tiny in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 18th January 2010, 09:01 PM
  4. Quickie sub app question
    By ClickerGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 14th December 2007, 06:35 PM
  5. Launch App with relative path...issue
    By Code6 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 10th January 2007, 11:29 PM

Posting Permissions

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