Jump to content


Photo

Can You Use Relative Paths?


  • Please log in to reply
2 replies to this topic

#1 SumDumGuy3

SumDumGuy3

    X-S Young Member

  • Members
  • Pip
  • 53 posts

Posted 28 August 2004 - 03:15 PM

Me again... I am making stuff to run from a dvd but during development and testing I am running it from a folder on the f drive. Obviously then all of the paths I put in are hard coded to either the D:\... or F:\... and every time I move them from one to the other I have to change all of the paths. If I could just make them relative like .\... instead of F:\Testing\... it would be great. Then when I move it to dvd it would still work no changes...

If not, is it possible to determine where MXM is being run from then that could be put into a variable for use in the paths?

Thanks,
SDG

#2 flattspott

flattspott

    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 28 August 2004 - 07:38 PM

the system variable $ActualPath$ is where MXM is run from

#3 SumDumGuy3

SumDumGuy3

    X-S Young Member

  • Members
  • Pip
  • 53 posts

Posted 28 August 2004 - 08:57 PM

Ahhh, Sweet....

Thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users