When I run my program by double clicking on it, it works fine.
If I run my program with batch, my error pops up saying it can't find the relative data file any more.
Batch code:
Code: Select all
@echo off
start "Reminders" "%~dp0Reminders\Bin\Reminders.exe"
I also output the relative file-path for the data file if it can not be found, and it is correct.
So what could be causing my program to not be able to find the data file when run with batch?