console applications

Ardealul
05/08/2005 12:40 pm
i tried trayicon pro because i needed a program that could reside in the system tray and also allow me to run usual console applications like ping, whois, nslookup, etc without having to start>run>cmd.exe>[enter]>command>[enter] every time i needed one.

the problem i had was that i wanted to pause the window after the command output which is not possible. that means, i want to keep the command window open, read the command output, and close it at my leasure.

it would be so nice (and useful) if trayicon pro would provide an option to pause the output or if someone would tell me of a method that would allow me to achieve this goal.

many thanks in advance.

p.s.: this is something like a <has it - i`ll buy> it feature.
Sergey Kovrizhkin
05/10/2005 03:47 am
> i tried trayicon pro because i needed a program that could reside in the system tray and also allow me to run usual console applications like ping, whois, nslookup, etc without having to start>run>cmd.exe>[enter]>command>[enter] every time i needed one.
>
> the problem i had was that i wanted to pause the window after the command output which is not possible. that means, i want to keep the command window open, read the command output, and close it at my leasure.
>
> it would be so nice (and useful) if trayicon pro would provide an option to pause the output or if someone would tell me of a method that would allow me to achieve this goal.
>
> many thanks in advance.
>
> p.s.: this is something like a <has it - i`ll buy> it feature.


Hello,

If you want to run windows command without closing output window
you can make the following steps.
Add New Icon - Application, and fill dialog form for example
Program Path: C:\WINDOWS\System32\cmd.exe
StartUp Path: C:\WINDOWS\System32
Arguments: /k ping 192.168.21.1
The Key /k is argument of Windows Command Processor (cmd.exe)
also means - "Carries out the command specified by string but remains".

Best regards,
Sergey Kovrizhkin
MP Staff
Ardealul
05/12/2005 10:44 am
thanks for your rapid response but i would also like to input command parameters every time i launch a command. for instance, it would be inpractical if i had icon launching a application and every time i wanted to ping another host i would have to reenter the whole parameter once again (/k ping....). it would be nice if i could set some implicit parameters to which i would only have to add others (for instance /k ping... would be implicit and when i would check ask for parameters it would also allow me to add some more to the existing ones without showing them to me - or not, depending if i would like (maybe i use some commands with the same arguments 90% of the time, but sometimes i would like to modify those and other commands i would always use with the same implicit arguments - ex. /k ping /t)

MetaProducts User Forums wrote:

> Topic: TrayIcon Pro
> Subject: Re: console applications
> From: Sergey Kovrizhkin
> Content:
>
> > i tried trayicon pro because i needed a program that could reside in the system tray and also allow me to run usual console applications like ping, whois, nslookup, etc without having to start>run>cmd.exe>[enter]>command>[enter] every time i needed one.
> >
> > the problem i had was that i wanted to pause the window after the command output which is not possible. that means, i want to keep the command window open, read the command output, and close it at my leasure.
> >
> > it would be so nice (and useful) if trayicon pro would provide an option to pause the output or if someone would tell me of a method that would allow me to achieve this goal.
> >
> > many thanks in advance.
> >
> > p.s.: this is something like a <has it - i`ll buy> it feature.
>
>
> Hello,
>
> If you want to run windows command without closing output window
> you can make the following steps.
> Add New Icon - Application, and fill dialog form for example
> Program Path: C:\WINDOWS\System32\cmd.exe
> StartUp Path: C:\WINDOWS\System32
> Arguments: /k ping 192.168.21.1
> The Key /k is argument of Windows Command Processor (cmd.exe)
> also means - "Carries out the command specified by string but remains".
>
> Best regards,
> Sergey Kovrizhkin
> MP Staff
>
> Message URL
Sergey Kovrizhkin
05/17/2005 03:05 am
> thanks for your rapid response but i would also like to input command parameters every time i launch a command. for instance, it would be inpractical if i had icon launching a application and every time i wanted to ping another host i would have to reenter the whole parameter once again (/k ping....). it would be nice if i could set some implicit parameters to which i would only have to add others (for instance /k ping... would be implicit and when i would check ask for parameters it would also allow me to add some more to the existing ones without showing them to me - or not, depending if i would like (maybe i use some commands with the same arguments 90% of the time, but sometimes i would like to modify those and other commands i would always use with the same implicit arguments - ex. /k ping /t)


Hello,

Thank you for your suggestion.
We will add this feature in next version of TP.
Part of the arguments will be stored in item properties (at initial tuning)
and also will be given the opportunity to enter a part of parameters dynamically.

Best regards,
Sergey Kovrizhkin
MP Staff