Viewing .CHM files with hh.exe from command line

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
KenJackson
Level 2
Level 2
Posts: 24
Joined: Mon Apr 14, 2008 11:01 am

Viewing .CHM files with hh.exe from command line

Post by KenJackson »

I would like to be able to start the Wine .chm file-viewer, C:\windows\hh.exe, from the command-line like this:

wine hh.exe /some/dir/somefile.chm

It works if the current directory contains the .chm file, but not if I have to specify a path.

Am I missing something?
Dan Kegel

Viewing .CHM files with hh.exe from command line

Post by Dan Kegel »

On Mon, Apr 14, 2008 at 9:18 AM, KenJackson <[email protected]> wrote:
I would like to be able to start the Wine .chm file-viewer, C:\windows\hh.exe, from the command-line like this:

wine hh.exe /some/dir/somefile.chm

It works if the current directory contains the .chm file, but not if I have to specify a path.

Am I missing something?
Maybe you have to specify a windows path, e.g.
wine hh.exe `winepatch -w /some/dir/somefile.chm`
Dan Kegel

Viewing .CHM files with hh.exe from command line

Post by Dan Kegel »

On Mon, Apr 14, 2008 at 9:54 AM, Dan Kegel <[email protected]> wrote:
Maybe you have to specify a windows path, e.g.
wine hh.exe `winepatch -w /some/dir/somefile.chm`
arrgh, that's

wine hh.exe `winepath -w /some/dir/somefile.chm`
KenJackson
Level 2
Level 2
Posts: 24
Joined: Mon Apr 14, 2008 11:01 am

Re: Viewing .CHM files with hh.exe from command line

Post by KenJackson »

Dan Kegel wrote:wine hh.exe `winepath -w /some/dir/somefile.chm`
OK, that one worked. Thanks.

I had already tried typing out the path the way Windows would like it, but it didn't seem to work. Odd.
Locked