SyMenu Forum

SyMenu

 

butaford

all messages by user

31/01/2024
Topic:
SyMenu 8.00

butaford
butaford
The program does not open in the line command if you specify the path to the exe file

Example:
I:\Programs\SyMenu\SyMenu.exe

I use a bat file at the root of USB:
@echo off
set syMenuPath=Programs\SyMenu
set syMenuExe=%syMenuPath%\SyMenu.exe
start %~dp0%syMenuExe%


UPD
FIX:
@echo off
set syMenuPath=Programs\SyMenu
set syMenuExe=SyMenu.exe
cd %~dp0%syMenuPath%
start %syMenuExe%


edited by butaford on 31/01/2024
31/01/2024
Topic:
SyMenu 8.00

butaford
butaford
Gianluca wrote:
butaford wrote:
The program does not open in the line command

Yes, I was replying you that the first script lacks the working directory definition.
You solved it changing the current dir.
Good for you but please next time open a new thread in the right forum topic (Troubleshooting & Bug Reports).

Oh sorry. Yes, I found the topic.
1

UGMFree © 2002-2024
PayPal BTC TON