Author Topic: Windows 10 (Relative Path with a Space)  (Read 2408 times)

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 320
  • He who laughs lasts.
    • View Profile
Windows 10 (Relative Path with a Space)
« 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?

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Windows 10 (Relative Path with a Space)
« Reply #1 on: December 10, 2019, 06:26:19 PM »
workdir             ../../"Visual Pinball"

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 320
  • He who laughs lasts.
    • View Profile
Re: Windows 10 (Relative Path with a Space)
« Reply #2 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

« Last Edit: December 11, 2019, 06:42:56 AM by bionictoothpick »

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 320
  • He who laughs lasts.
    • View Profile
Re: Windows 10 (Relative Path with a Space)
« Reply #3 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...


hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Windows 10 (Relative Path with a Space)
« Reply #4 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 ^-^
« Last Edit: December 13, 2019, 12:25:16 PM by hermine.potter »
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 320
  • He who laughs lasts.
    • View Profile
Re: Windows 10 (Relative Path with a Space)
« Reply #5 on: December 16, 2019, 07:36:43 AM »
I gave up hope and renamed it to VisualPinball and all is well.