Alex Rivera | Logout

Making a Windows shortcut start relative to where the folder is?

Asked 2009-07-23T04:06:06.113
84

I have a game that uses this file structure:

GAME FOLDER
->data
->data->run.bat

I want to put a shortcut to run.bat in GAME FOLDER, but if I move it, or someone else installs it it won't work, because the target is wrong. Is there a way to make the target and "start in" relative to GAME FOLDER?

Edit
Report

1 Answer

1

You could have the batch file change the current working directory (CD).

answered 2009-07-23T04:21:10.903

Your Answer