Support environment variables in compiler filenames

Nothing is perfect! This is where you can post your ideas and wishes for functions you'd like to see in Help & Manual. Current version only please (H&M7).

Moderators: Alexander Halser, Tim Green

Post Reply
simoncraythorn
Posts: 2
Joined: Thu Sep 27, 2007 5:50 pm

Support environment variables in compiler filenames

Unread post by simoncraythorn »

Would it be possible to support environment variables for the compiler output file?

Reason:

Our technical author uses H & M and he stores his .chm files on his local disk in his directory structure.

We have him check the H & M projects into our source control system. On occasion we need to make minor modifications to the help files and then we check them back in.

Our directory structure (for the output files) doesn't match his. So we are constantly battling with the Output file for the .chm file.

If we could set the output file to be "%OURPRODUCT%\ourproduct.chm this would solve the problem. We would just set an environment variable on our machine pointing to our directory structure and he would set one on his. Problem solved.

We tried doing this with the current H & M release but it tells us that "the output folder does not exist. Do you want to create it?". If we say yes, nothing happens.

Many thanks.
Simon Craythorn
InterVations, Inc.
User avatar
Alexander Halser
EC-Software Support
Posts: 4098
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria
Contact:

Unread post by Alexander Halser »

Simon,

This has always been working, though not explicitely supported by Help & Manual, but by Windows :D
Alexander Halser
Senior Software Architect, EC Software GmbH
simoncraythorn
Posts: 2
Joined: Thu Sep 27, 2007 5:50 pm

Unread post by simoncraythorn »

Alexander Halser wrote:Simon,

This has always been working, though not explicitely supported by Help & Manual, but by Windows :D
Hmm, not quite.

Go to File->Compile Help File.

Select HTML Help as the output format

Enter

%MYAPP%\myapp.chm in the Output File (you can type %TEMP%\test.chm in here to test) press OK.

I get a message saying

"This output folder does not exist. Do you wan to create it?"

The output folder does exist, but press Yes anyway and nothing happens.
--
Simon.
ContiChris
Posts: 8
Joined: Wed Dec 21, 2016 11:36 am

Re: Support environment variables in compiler filenames

Unread post by ContiChris »

Hi,
is here new knowledge available?
It would also be great if environment variables will work in the task manager.

--
Chris
Post Reply