I'm trying to ascertain which users are not running zfdagent's
INVENTORY option
I've setup a process that will read the registry as to whether the
inventory piece is present. There may be a better way...but here's
what I'm doing

I've set up an Action in a Workstation package as follows
NAME: c:\windows\regedit.exe
Working Directory: C:\windows
Parameters: /e \\dc15\vol1\log\%COMPUTERNAME%.txt
HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ZENworks\ZfD\Ag ent

The problem is that I end up with a file called %COMPUTERNAME%.txt
instead of something like testpc.txt. ie It's not interpreting the
variable %COMPUTERNAME% properly

HOWEVER....
It will work if I type the above syntax from a commandline:
c:\regedit /e \\dc15\vol1\log\%COMPUTERNAME%.txt
HKEY_LOCAL_MACHINE\SOFTWARE\Novell\ZENworks\ZfD\Ag ent

This properly interprets the environmental variable.

I've tried %COMPUTERNAME %%COMPUTERNAME %COMPUTERNAME%
%%COMPUTERNAME%%

Any ideas or suggestions would be appreciated.


Kirk Fontaine
Dawson College, Montreal