egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Windrop x Exec

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Thor
Voice


Joined: 22 Jul 2006
Posts: 4

PostPosted: Wed Jul 26, 2006 11:46 pm    Post subject: Windrop x Exec Reply with quote

I´ve been trying to execute on Windrop the command "exec netstat -e>>File.txt". I know the command works in windows because i have tested it.

Every command I try to execute I get the error "couldn't create error file for command: no such file or directory while executing".

I already tried:
[eval exec netstat -e>>File.txt]

and

cd "\windows\system32"
exec netstat.exe -e>>File.txt
cd "\windrop"

and

put exec netstat.exe -e>>File.txt inside temp.bat (bat file works)
exec temp.bat

and

exec temp

and

exec <subsitute here any other dos/windows command>

Crying or Very sad Crying or Very sad Crying or Very sad
Back to top
View user's profile Send private message
Thor
Voice


Joined: 22 Jul 2006
Posts: 4

PostPosted: Thu Jul 27, 2006 8:27 am    Post subject: Reply with quote

This seems to work, dont understand why.

exec cmd.exe >&@stdout <@stdin /c example.exe
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Jul 27, 2006 9:19 pm    Post subject: Reply with quote

It really does help if the command you are trying to execute is actually in your pathlist which netstat.exe isn't. cmd.exe is always set in your pathlist upon Windows installation.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Wed Dec 31, 2008 1:49 pm    Post subject: Reply with quote

Kind of an old thread but I encountered this problem tonight and wanted to post my fix, as it took some pouring through the Windrop sourceforge forums. I was having this problem on Vista64 and XP32-SP3, so I do not believe it is permissions or PATH issue ([file executable notepad.exe] will return 0 even if it is in your path anyway, I don't think Tcl takes into account env(PATH)?). Basically the problem is kind of with Tcl 8.5.

The easiest way to fix an [exec] / [open] issue that I have currently found for Windrop, is to downgrade to Windrop 1.6.17.

Then download ActiveState Tcl 8.4.9.1 @ http://downloads.activestate.com/ActiveTcl/Windows/8.4.9/ActiveTcl8.4.9.1.139183-win32-ix86.exe.
  • Install ActiveTcl and go into the bin/ folder of the installation.
  • Copy tcl84.dll into your Windrop folder.
  • Delete libtcl8.4.dll
  • Rename tcl84.dll to libtcl8.4.dll

Information courtesy of https://sourceforge.net/forum/message.php?msg_id=5946255 (original solution linked in my post)
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
Lucifer
Voice


Joined: 01 Nov 2006
Posts: 17

PostPosted: Sun Mar 08, 2009 5:55 am    Post subject: Error... Reply with quote

[09:37] incith-pisg-r82: pisg not found or not executable at '/usr/bin/pisg', loading aborted.
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Thu Sep 03, 2009 2:57 pm    Post subject: Re: Error... Reply with quote

Lucifer wrote:
[09:37] incith-pisg-r82: pisg not found or not executable at '/usr/bin/pisg', loading aborted.


It's telling you what is wrong. Check your settings and permissions.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber