The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed
Moderators: Hacker , petermad , Stefan2 , white
flizebogen
Junior Member
Posts: 50 Joined: 2003-06-25, 11:21 UTC
Post
by *flizebogen » 2007-01-22, 11:07 UTC
I wanted to extend the starter menu but i receive an error message on starting the app.
Command: %windir%\system32\mmc.exe
Parameter: %windir%\system32\compmgmt.msc
Image:
http://info.roever-berlin.de/tc_starter.jpg
Above is the Output of the Command. Bug or user mistake?
As the new betas support icons in menu entries is it planned to extend this for starter entries?
Regards
Flizebogen
SanskritFritz
Power Member
Posts: 3693 Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary
Post
by *SanskritFritz » 2007-01-22, 11:10 UTC
What happens, when you execute the command
%windir%\system32\mmc.exe %windir%\system32\compmgmt.msc
from the Run (Win-R ) dialog?
I switched to Linux, bye and thanks for all the fish!
flizebogen
Junior Member
Posts: 50 Joined: 2003-06-25, 11:21 UTC
Post
by *flizebogen » 2007-01-22, 11:14 UTC
From the Commandline or the run dialog everything works as expected. It just opens the computermanagenent console
CoolWater
Power Member
Posts: 744 Joined: 2003-03-27, 16:33 UTC
Post
by *CoolWater » 2007-01-22, 11:16 UTC
This is what you need:
Command: %windir%\system32\mmc.exe %windir%\system32\compmgmt.msc
(no parameter)
Then it works.
Regards,
CoolWater
SanskritFritz
Power Member
Posts: 3693 Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary
Post
by *SanskritFritz » 2007-01-22, 11:20 UTC
Yeah, the problem is, that the parameter contains a %w, that is the placeholder in TC for the working directory.
I switched to Linux, bye and thanks for all the fish!
flizebogen
Junior Member
Posts: 50 Joined: 2003-06-25, 11:21 UTC
Post
by *flizebogen » 2007-01-22, 11:24 UTC
This doesn't woks for me. But if it did was is the field parameter for?
It doesn't matter where to put the parameter. It seems TC doesn't expand the second variable
SanskritFritz
Power Member
Posts: 3693 Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary
Post
by *SanskritFritz » 2007-01-22, 11:29 UTC
2flizebogen
It works here:
%windir%\system32\mmc.exe %windir%\system32\compmgmt.msc
I switched to Linux, bye and thanks for all the fish!
flizebogen
Junior Member
Posts: 50 Joined: 2003-06-25, 11:21 UTC
Post
by *flizebogen » 2007-01-22, 11:30 UTC
Strange i have similar issues using the variable %Systemroot%.
Is there any way to use a system variable. I want to prevent the use of a fixed path.
SanskritFritz
Power Member
Posts: 3693 Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary
Post
by *SanskritFritz » 2007-01-22, 11:31 UTC
was is the field parameter for?
It is great for using placeholders that correspond to the selected files in both panels, see the help.
I switched to Linux, bye and thanks for all the fish!
SanskritFritz
Power Member
Posts: 3693 Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary
Post
by *SanskritFritz » 2007-01-22, 11:31 UTC
flizebogen wrote: Strange i have similar issues using the variable %Systemroot%.
Is there any way to use a system variable. I want to prevent the use of a fixed path.
What TC version are you using?
I switched to Linux, bye and thanks for all the fish!
SanskritFritz
Power Member
Posts: 3693 Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary
Post
by *SanskritFritz » 2007-01-22, 11:36 UTC
I switched to Linux, bye and thanks for all the fish!
flizebogen
Junior Member
Posts: 50 Joined: 2003-06-25, 11:21 UTC
Post
by *flizebogen » 2007-01-22, 11:41 UTC
Normally i used the parameter field for the parameter but the result from your picture is identically
CoolWater
Power Member
Posts: 744 Joined: 2003-03-27, 16:33 UTC
Post
by *CoolWater » 2007-01-22, 11:50 UTC
If you put this in the parameter field, it also works (here):
%% windir%% \system32\compmgmt.msc
Regards,
CoolWater
flizebogen
Junior Member
Posts: 50 Joined: 2003-06-25, 11:21 UTC
Post
by *flizebogen » 2007-01-22, 12:02 UTC
f you put this in the parameter field, it also works (here):
%%windir%%\system32\compmgmt.msc
Yes this works for me.
Thanks you