Results 1 to 3 of 3

Thread: How do I run .exe files in a directory that has a space in the name?

  1. #1
    Join Date
    Dec 2007
    Location
    London
    Beans
    53
    Distro
    Ubuntu 9.10 Karmic Koala

    How do I run .exe files in a directory that has a space in the name?

    Hello all
    I am using a dual boot between windows XP and Ubuntu 7.04 Festy Fawn. I first installed it just to try out, but it turns out I love Linux now ^^
    However I still would like to be able to run .exe applications, so I now have wine (version: 0.9.33-0ubuntu1) but how can I run .exe files from their location on Windows since there is a space in the directory name "Program files" I have an error message saying "Could not find medi/[...]/Program", the only solution I have figured is to copy my programs in a folder on my Linux desktop, of course this is a waste of HDD space in my mind, so how can I speciffically tell wine that the folder's name IS "Prgram files" and NOT just "Program"?
    Thank you all in advance
    P.S: Renaming my windows folders is NOt an option since it would screw up all the shortcuts and programs that work with each other and rely on other files etc...
    Last edited by chumchum; December 16th, 2007 at 02:53 PM. Reason: Forgot something

  2. #2
    Join Date
    Apr 2005
    Location
    Paris
    Beans
    601
    Distro
    Xubuntu 9.10 Karmic Koala

    Re: How do I run .exe files in a directory that has a space in the name?

    Hi chumchum,

    Add a \ before the space eg :
    Code:
    /Program\ Files/Rockstar\ Games/
    Last edited by Stemp; December 16th, 2007 at 03:22 PM. Reason: Had --> Add
    Sorry for my English - Home Page - PPA Webkit - PPA Midori - PPA Liferea - Personal PPA
    «Violence never settles anything.» - Genghis Khan, 1162-1227

  3. #3
    Join Date
    Nov 2007
    Beans
    97
    Distro
    Hardy Heron (Ubuntu Development)

    Re: How do I run .exe files in a directory that has a space in the name?

    or put quotes around the path

    wine "C:\Program Files\World of Warcraft\WoW.exe"

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •