Batch file I created not working properly

Yiannopoufish

Prominent
Aug 11, 2017
18
0
510
Here is the code from the file:

@echo off
cd D:\Steam\steamapps\common\The Witcher Enhanced Edition
start launcher.exe
cd C:\Program Files (x86)\Borderless Gaming
start BorderlessGaming.exe
exit

Whenever I run this it tells me that BorderlessGaming.exe couldn't be found and launches launcher.exe fine. I tried creating a shortcut to the batch file and running it as administrator, which then resulted in it telling me that launcher.exe couldn't be found but launching BorderlessGaming.exe fine. I have no idea what is going on here so I need someone who knows what they're doing.

Thanks in advance!
 
Solution
Add missing lines. You didn't change current drive.

@echo off
D:
cd D:\Steam\steamapps\common\The Witcher Enhanced Edition
start launcher.exe
C:
cd C:\Program Files (x86)\Borderless Gaming
start BorderlessGaming.exe
exit

Thanks a lot, works perfectly now!