Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Windows Command Line

Got a good idea? You can suggest new features here.
Sem;colon
Plugin Developer
Posts: 625
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: Windows Command Line

Post by Sem;colon »

Yes, replace was just the first thing that came to my mind (I don't think there is a codepage with a dot in the name)
MS$ translations are always fun - especially when it comes to the cmd ;-)
cmd.PNG
cmd.PNG (6.37 KiB) Viewed 6894 times
If you like my work, Image me a drink :wink:
kkl
Experienced User
Posts: 317
Joined: Wed May 04, 2011 9:32 pm

Re: Windows Command Line

Post by kkl »

Am I doing something wrong? In sem;colon's example above, several events are generated. When I try a basic command, there are no events generated. However, the result of the command is found in eg.result. Windows 8.1, 64-bit.
Capture.JPG
Also, Pako, would you consider making an elevated command (i.e. administrator) version of this? I have a need to use the Devcon command and currently have to use some workarounds to make it work. Thanks.
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Windows Command Line

Post by jonib »

kkl wrote:Am I doing something wrong? In sem;colon's example above, several events are generated.
Do you mean the process.created.* events? those are from the "Process Watcher" plugin.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
kkl
Experienced User
Posts: 317
Joined: Wed May 04, 2011 9:32 pm

Re: Windows Command Line

Post by kkl »

Yes, that's what I was looking at. Thanks for the help Jonib.
Sem;colon
Plugin Developer
Posts: 625
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: Windows Command Line

Post by Sem;colon »

kkl wrote:would you consider making an elevated command (i.e. administrator) version of this? I have a need to use the Devcon command and currently have to use some workarounds to make it work. Thanks.
You can do that by:
-Running EG as admin
-Using PSexec and store your admin credentials somewhere
-Using the windows task scheduler
If you like my work, Image me a drink :wink:
kkl
Experienced User
Posts: 317
Joined: Wed May 04, 2011 9:32 pm

Re: Windows Command Line

Post by kkl »

Sem;colon wrote: You can do that by:
-Running EG as admin
-Using PSexec and store your admin credentials somewhere
-Using the windows task scheduler
Sem;colon, thanks for the feedback. I am aware of these options from this thread. I've used the last two successfully. The first one doesn't work, at least not for the Devcon command.

I am happy that a workaround exists, but I'm still hoping that that it might be simple to create an admin privileges option for this plug-in. Pako never ceases to amaze me.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Windows Command Line

Post by Pako »

kkl wrote:Also, Pako, would you consider making an elevated command (i.e. administrator) version of this?
I spent working on it for several hours, but I finally decided that I will not do it.
I found that it would have too many flaws and limitations.
That would actually be just such a better workaround.

Pako
User avatar
zian
Site Admin
Posts: 569
Joined: Wed Jun 24, 2009 3:54 pm

Re: Windows Command Line

Post by zian »

Pako never ceases to amaze me.
Me too.
eventghost.net
Be there or be square.
kkl
Experienced User
Posts: 317
Joined: Wed May 04, 2011 9:32 pm

Re: Windows Command Line

Post by kkl »

Pako wrote:I spent working on it for several hours, but I finally decided that I will not do it.
Thanks very much for taking the time to consider it.
Sem;colon
Plugin Developer
Posts: 625
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: Windows Command Line

Post by Sem;colon »

Hi Pako,

I just wanted to give you one more feedback.
It works great now with EG v0.4.1r1687, thank you! :)
If you like my work, Image me a drink :wink:
Post Reply