Format of a line command for Program File (x86)

Questions about Wine on Linux
Post Reply
Saturnin51
Level 1
Level 1
Posts: 6
Joined: Mon Oct 17, 2022 9:38 am

Format of a line command for Program File (x86)

Post by Saturnin51 »

Hello,

I am making an Impress document. In the presentation, I want to launch some Windows program. I use a form and interaction function. But, I had to execute a script to launch the program. By example, wine /home/robert/.wine/drive_c/NGC7000/CoelixApex3/CoelixApex.exe.

I have a difficulty with the directory Program Files (x86). How to write the command: wine /home/robert/.wine/drive_c/?????????/filename ?

Thank you.
desessarts
Level 4
Level 4
Posts: 196
Joined: Wed Oct 04, 2023 7:57 am

Re: Format of a line command for Program File (x86)

Post by desessarts »

among other ways, you can use simple quotes

example

Code: Select all

ls -alrt .wine64/drive_c/'Program Files (x86)'
total 28
drwxr-xr-x 3 gg gg 4096 17 juin   2024 'Windows NT'
drwxr-xr-x 2 gg gg 4096 17 juin   2024 'Windows Media Player'
drwxr-xr-x 2 gg gg 4096 17 juin   2024 'Internet Explorer'
drwxr-xr-x 3 gg gg 4096 17 juin   2024  Microsoft.NET
drwxr-xr-x 7 gg gg 4096 17 juin   2024  .
drwxr-xr-x 4 gg gg 4096 17 juin   2024 'Common Files'
drwxr-xr-x 7 gg gg 4096 17 juin   2024  ..
gg@debian:~ $ 
desessarts
Level 4
Level 4
Posts: 196
Joined: Wed Oct 04, 2023 7:57 am

Re: Format of a line command for Program File (x86)

Post by desessarts »

also double quotes

Code: Select all

ls -alrt .wine64/drive_c/"Program Files (x86)"
total 28
drwxr-xr-x 3 gg gg 4096 17 juin   2024 'Windows NT'
drwxr-xr-x 2 gg gg 4096 17 juin   2024 'Windows Media Player'
drwxr-xr-x 2 gg gg 4096 17 juin   2024 'Internet Explorer'
drwxr-xr-x 3 gg gg 4096 17 juin   2024  Microsoft.NET
drwxr-xr-x 7 gg gg 4096 17 juin   2024  .
drwxr-xr-x 4 gg gg 4096 17 juin   2024 'Common Files'
drwxr-xr-x 7 gg gg 4096 17 juin   2024  ..
desessarts
Level 4
Level 4
Posts: 196
Joined: Wed Oct 04, 2023 7:57 am

Re: Format of a line command for Program File (x86)

Post by desessarts »

another idea, you write

Code: Select all

ls -alrt .wine64/drive_c/Program
then you write
\
and a space
and you hit Tab
you now have

Code: Select all

ls -alrt .wine64/drive_c/Program\ Files
and again you write
\
and a space and hit Tab
and you get

Code: Select all

ls -alrt .wine64/drive_c/Program\ Files\ \(x86\)/
Post Reply