Hi, I'm not sue what winepath does, and the 'winepath --help' doesn't seem to do much.
What I'm talking about for Agent in particular, is that when Agent as a Windows program communicates with (for example) gimp as a unix program and passes a command line parameter, like a file path (it still thinks it's in C:\Data\agent rather than "~/data/agent", to open, all of the back slashes should be changed to forward slashes.
How would I use winepath in this situation?
Thanks, Oliver
On Tue, 07 Jan 2003 12:03:30 +0100, Rein Klazes rklazes@xs4all.nl wrote:
On Sun, 05 Jan 2003 17:05:36 +0000, you wrote:
Howdy, I'd like to (finally) get around to fixing something that Agent does that's really annoying. When launching programs, it sends a string with backslashes for directory markers instead of forward slashes.
Anyhow, if I'm going to start looking at the problem, could someone point me at the right file to begin looking at? I think I asked this some time ago, but I can't seem to find the email. (I remember looking at the code, and since it was a *real* simple fix, it sorta just fell by the way side.)
Since then the tool winepath has been added.
$ winepath 'E:\BIN\Agent\agent.ini /dos/e/bin/Agent/agent.ini
I think the recommended way is now to create a small script that uses winepath.
Rein.
==================================================== Oliver Sampson olsam@quickaudio.com http://www.oliversampson.com