suggestion for wincmd.ini

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Tsunulukai
Junior Member
Junior Member
Posts: 66
Joined: 2003-02-07, 23:44 UTC

suggestion for wincmd.ini

Post by *Tsunulukai »

It would be helpful to have the possibility to set and use variables inside the config file...

eg :
set Pack=c:\util\wincmd\plugins\pack

so that in the packer section we could use
[Packer]
ACE=%Pack%\ACE32.EXE
ARJ=%Pack%\Arj.exe
LHA=%Pack%\Lha.exe
RAR=%Pack%\Rar.exe

this would also be helpful when moving a config file to another computer...

The syntax I used was just a sample, just to give an idea...
TucknDar
Senior Member
Senior Member
Posts: 227
Joined: 2003-02-07, 09:44 UTC
Location: Oslo
Contact:

Post by *TucknDar »

Forgive me if I misunderstand your request, but as you've got the dir in the (systemwide) path (or environment variable, if you wish, you shouldn't need the %path% infront of the exe's.
i.e. this should do: ACE=ACE32.EXE That should make TC search for ace32.exe utilizing the environment variables...
license #76904
Tsunulukai
Junior Member
Junior Member
Posts: 66
Joined: 2003-02-07, 23:44 UTC

Post by *Tsunulukai »

Well, I should have used another syntax for the variables... as I wasn't talking about environment variables :)

The Idea is just to set variables in the beginning of the config file so that it's easier to copy the config file to another computer, without having to modify every line pointing to a specific location
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 13-02-2003 11:43:53 +0000 Tsunulukai wrote:

T> It would be helpful to have the possibility to set
T> and use variables inside the config file...


Well, may be it's a good idea if you store all your packers (or pluging etc.) in the same directory, otherwise it hardly has any sense.
Talking about a paths, the thing I really need is relative paths support to run Commander with all supporting stuff from CD easily.[/face]
Post Reply