xboxscene.org forums

Author Topic: Can You Use Relative Paths?  (Read 638 times)

SumDumGuy3

  • Archived User
  • Newbie
  • *
  • Posts: 48
Can You Use Relative Paths?
« on: August 28, 2004, 08:46:00 AM »

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
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Can You Use Relative Paths?
« Reply #1 on: August 28, 2004, 01:09:00 PM »

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

SumDumGuy3

  • Archived User
  • Newbie
  • *
  • Posts: 48
Can You Use Relative Paths?
« Reply #2 on: August 28, 2004, 02:28:00 PM »

Ahhh, Sweet....

Thanks
Logged