How do I do this?
How do I do this?
I'm new to Linux and Wine, so I need a little help. How do I run a program under Wine that performs an operation on a third file? IOW, I need to run the following DOS command line:
C:\Program Files\Xprogram> mod.exe r64.dll
How do I do this under Wine? I tried opening a terminal window and typing
$ wine home\[restofpathname]\mod.exe r64.dll
But I got an error saying it couldn't find mod.exe
C:\Program Files\Xprogram> mod.exe r64.dll
How do I do this under Wine? I tried opening a terminal window and typing
$ wine home\[restofpathname]\mod.exe r64.dll
But I got an error saying it couldn't find mod.exe
How do I do this?
On Wed, Jul 23, 2008 at 8:54 PM, jnewl <[email protected]> wrote:
instead of \
John
\ in the path will not work without quotes around the whole path or \\I'm new to Linux and Wine, so I need a little help. How do I run a program under Wine that performs an operation on a third file? IOW, I need to run the following DOS command line:
C:\Program Files\Xprogram> mod.exe r64.dll
How do I do this under Wine? I tried opening a terminal window and typing
$ wine home\[restofpathname]\mod.exe r64.dll
But I got an error saying it couldn't find mod.exe
instead of \
John
Ah, thank you. So are you saying that the command I typed should work as long as I use quotes or double slashes?
I just tried
$ wine "home\[restofpathname]\mod.exe" r64.dll
and it still says it can't find mod.exe. What am I doing wrong?
I also tried using the double slashes, but it doesn't recognize two word directory names ("Program Files") using that method. I'm not sure what I'm supposed to do in that case. Like I said, I'm a complete noob to Linux.
I just tried
$ wine "home\[restofpathname]\mod.exe" r64.dll
and it still says it can't find mod.exe. What am I doing wrong?
I also tried using the double slashes, but it doesn't recognize two word directory names ("Program Files") using that method. I'm not sure what I'm supposed to do in that case. Like I said, I'm a complete noob to Linux.
Here you are using a Unix path, so you should use '/' insted of '\'jnewl wrote:Ah, thank you. So are you saying that the command I typed should work as long as I use quotes or double slashes?
I just tried
$ wine "home\[restofpathname]\mod.exe" r64.dll
and it still says it can't find mod.exe. What am I doing wrong?
I also tried using the double slashes, but it doesn't recognize two word directory names ("Program Files") using that method. I'm not sure what I'm supposed to do in that case. Like I said, I'm a complete noob to Linux.
But the best for wine is to cd in the exe folder before starting it. To do this :
cd "/home/[restofpathname]"
wine mod.exe r64.dll
See this for more details :
http://wiki.winehq.org/FAQ#head-3b297df ... b8edc21619
And :
http://www.winehq.org/site/docs/wineusr-guide/running
How do I do this?
On Thu, Jul 24, 2008 at 4:38 AM, jnewl <[email protected]> wrote:
sequences (starting with '\')
http://learnlinux.tsf.org.za/courses/bu ... #SS_quotes
e.g. cat "~/some folder with spaces/file.txt" or
cat ~/some\ folder\ with\ spaces/file.txt or
cat ~/some" "folder" "with" "spaces/file.txt
You need to use single quotes if you want the shell to ignore escapeAh, thank you. So are you saying that the command I typed should work as long as I use quotes or double slashes?
I just tried
$ wine "home\[restofpathname]\mod.exe" r64.dll
and it still says it can't find mod.exe. What am I doing wrong?
sequences (starting with '\')
http://learnlinux.tsf.org.za/courses/bu ... #SS_quotes
You can use double / single quotes around the space or escape the space:I also tried using the double slashes, but it doesn't recognize two word directory names ("Program Files") using that method. I'm not sure what I'm supposed to do in that case. Like I said, I'm a complete noob to Linux.
e.g. cat "~/some folder with spaces/file.txt" or
cat ~/some\ folder\ with\ spaces/file.txt or
cat ~/some" "folder" "with" "spaces/file.txt
How do I do this?
On Thu, Jul 24, 2008 at 4:38 AM, jnewl <[email protected]> wrote:
sequences (starting with '\')
http://learnlinux.tsf.org.za/courses/bu ... #SS_quotes
e.g. cat "~/some folder with spaces/file.txt" or
cat ~/some\ folder\ with\ spaces/file.txt
You need to use single quotes if you want the shell to ignore escapeAh, thank you. So are you saying that the command I typed should work as long as I use quotes or double slashes?
I just tried
$ wine "home\[restofpathname]\mod.exe" r64.dll
and it still says it can't find mod.exe. What am I doing wrong?
sequences (starting with '\')
http://learnlinux.tsf.org.za/courses/bu ... #SS_quotes
You can use double / single quotes around the space or escape the space:I also tried using the double slashes, but it doesn't recognize two word directory names ("Program Files") using that method. I'm not sure what I'm supposed to do in that case. Like I said, I'm a complete noob to Linux.
e.g. cat "~/some folder with spaces/file.txt" or
cat ~/some\ folder\ with\ spaces/file.txt
How do I do this?
"Gert van den Berg" <[email protected]> writes in gmane.comp.emulators.wine.user:
hurtta@Hurtta06k:~$ ls -d "~"
ls: ~: No such file or directory
hurtta@Hurtta06k:~$ ls -d ~
/home/hurtta
hurtta@Hurtta06k:~$
/ Kari Hurtta
No. You can not put ~ inside of quotes -- it is expanded by shell:On Thu, Jul 24, 2008 at 4:38 AM, jnewl <[email protected]> wrote:You need to use single quotes if you want the shell to ignore escapeAh, thank you. So are you saying that the command I typed should work as long as I use quotes or double slashes?
I just tried
$ wine "home\[restofpathname]\mod.exe" r64.dll
and it still says it can't find mod.exe. What am I doing wrong?
sequences (starting with '\')
http://learnlinux.tsf.org.za/courses/bu ... #SS_quotes
You can use double / single quotes around the space or escape the space:I also tried using the double slashes, but it doesn't recognize two word directory names ("Program Files") using that method. I'm not sure what I'm supposed to do in that case. Like I said, I'm a complete noob to Linux.
e.g. cat "~/some folder with spaces/file.txt" or
cat ~/some\ folder\ with\ spaces/file.txt or
cat ~/some" "folder" "with" "spaces/file.txt
hurtta@Hurtta06k:~$ ls -d "~"
ls: ~: No such file or directory
hurtta@Hurtta06k:~$ ls -d ~
/home/hurtta
hurtta@Hurtta06k:~$
/ Kari Hurtta
How do I do this?
On Thu, Jul 24, 2008 at 05:54:09AM +0200, Gert van den Berg wrote:
-- hendrik
Isn't the second \ on the wrong side of the close bracket?On Thu, Jul 24, 2008 at 4:38 AM, jnewl <[email protected]> wrote:Ah, thank you. So are you saying that the command I typed should work as long as I use quotes or double slashes?
I just tried
$ wine "home\[restofpathname]\mod.exe" r64.dll
-- hendrik