Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: bionictoothpick on December 10, 2019, 03:18:18 PM

Title: Windows 10 (Relative Path with a Space)
Post by: bionictoothpick on December 10, 2019, 03:18:18 PM
Windows 10 Attractmode v2.6.0

If I use:
executable          VPinballX.exe
workdir             ../../VisualPinball

The program will launch...

If I use
executable          VPinballX.exe
workdir             ../../Visual Pinball

The program will not launch...(Yes I rename the folder to Visual Pinball and VisualPinball respectively.

Any idea?
Title: Re: Windows 10 (Relative Path with a Space)
Post by: progets on December 10, 2019, 06:26:19 PM
workdir             ../../"Visual Pinball"
Title: Re: Windows 10 (Relative Path with a Space)
Post by: bionictoothpick on December 11, 2019, 05:47:49 AM
I appreciate you sharing that...

However, it's still a no go.

From the command prompt, this works:

C:\am>c:\"Visual Pinball"\VPinballX.exe

Title: Re: Windows 10 (Relative Path with a Space)
Post by: bionictoothpick on December 11, 2019, 07:54:47 AM
I went to another computer and I still can't get the program to launch if it is in a folder with a space...

Title: Re: Windows 10 (Relative Path with a Space)
Post by: hermine.potter on December 13, 2019, 12:23:02 PM
This works to me:
Code: [Select]
executable           C:\attract\EMU\Visual Pinball\VPinball992.exe
args                 /play "[romfilename]"
rompath              C:\attract\EMU\Visual Pinball\Tables
romext               .vpt
Please test. After confirm, we can change it to relative paths together ^-^
Title: Re: Windows 10 (Relative Path with a Space)
Post by: bionictoothpick on December 16, 2019, 07:36:43 AM
I gave up hope and renamed it to VisualPinball and all is well.