Blaxie
Blaxie

Reputation: 11

'Path cannot be found' when executing .lnk files from a batch file

I have created a to execute a couple of .lnk files.

example:

start C:\Users\Blaxie\Desktop\vrchatter\PlayspaceMover.lnk

When executed it says that the path cannot be found; but I have copied and pasted it directly from the shortcut properties of the .lnk file itself.

What am I doing wrong?

Upvotes: 0

Views: 564

Answers (1)

Blaxie
Blaxie

Reputation: 11

This solved it for me: start "playspaceMover" /b "C:\Users\Blaxie\Downloads\PlayspaceMover-v0.1.8\PlayspaceMover.exe - Shortcut"

I just used the name of the shortcut instead of writing the shortcut with the ".lnk" at the end.

Upvotes: 1

Related Questions