Menu

#8 Cannot launch a programs on other drives

open
None
8
2002-06-04
2002-06-04
Dave Dribin
No

If GL is in the directory c:\glaunch, and the directory
of a launched program is d:\program\program.exe, then
GL will not be able to run it.

GL generates a batch file that does not work:

cd d:\program
program.exe
cd c:\glaunch

The problem is that "cd d:\program" will not work since
the current drive letter is "c:". It needs to generate
a batch file like:

d:
cd d:\program
program.exe
c:
cd c:\glaunch

Discussion

  • Dave Dribin

    Dave Dribin - 2002-06-04
    • priority: 5 --> 8
    • assigned_to: nobody --> ddribin
     
  • Nobody/Anonymous

    Logged In: NO

    There's also an error when tring to run a game from a
    directory with a space in the name. (aka long directory). The
    batch file should place quotations around the directory after
    the > or around the entire command.

     
  • Nobody/Anonymous

    Logged In: NO

    The switch-drive problem can be worked around by
    using "pre_command=D:" and "post_command=C:".

     

Log in to post a comment.