Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9687

How to universalize a shortcut?

$
0
0

I made a game and I put all my code and executable in the code folder. I created a shortcut to the executable outside the folder so users won't have to dig in the folder to find the exe. Problem is the shortcut file path only works for me.

I uploaded the project to GitHub, so my file path starts from the downloads folder. So for my shortcut properties I tried

"%userprofile%\Downloads\Space-Invaders-main\Code\Space Invaders.exe" for target and

%userprofile%\Downloads\Space-Invaders-main\Code for start in.

My friend tried it, but he got this error.

How can I make a file path so any user from any computer can run the shortcut?


Viewing all articles
Browse latest Browse all 9687

Trending Articles