Qbasicnews.com

Full Version: Relative paths in Windows PIF files.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do you create a relative path in a PIF file?

Nathan said it's possible. How do you do it?
Just start the path with .\ or ..\
Thanx.
Errr...I doesn't work. At least the "Working:" part.

What do I put under "Cmd line:" and what under "Working:" to make the programm work in any directory?

Let's say the executable file is DA.EXE

EXACTLY what.
If what you want is to associate a filetype with the shortcut, you must put in Command the complete path to the program with a %1 as a parameter, and a dot in Working directory
Duh?

I want to keep the shortcut in the working directory(where the EXE file and game files are) and have a shortcut which does not contain hard paths.

Help!


Don't describe the solution. Give me an EXAMPLE.
HEEEEEEEEEEEEEEEEEEEEEELP!

:bounce:
the path

".\blarg.exe" -------- points to blarg.exe in the "current" folder
"..\blorg.exe" ------- points to blorg.exe in the folder above the "current"
".\meh\blerg.exe" - points to blerg.exe in the meh directory lying in your "current folder"

hope this helps...
It better. Or else.


EDIT: It works. Thanx.