This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
R
RaBieZ|ZyFleX
Post
by RaBieZ|ZyFleX » Mon Dec 09, 2002 5:11 pm
I have tryed to make my own script, i have to run a file from an other folder, but it wont work... i use a Windrop... can anyone tell me what to write in my script ?
i have tryed with:
exec "C:/dir/myfile.exe"
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Mon Dec 09, 2002 6:20 pm
Questions like this have been aswered many times, and at least twice within the past 1 1/2 months.
What errors does the message give you?
have you tried replacing the "" with { and }?
Have you tried using a forward slash instad of a backslash?
R
RaBieZ|ZyFleX
Post
by RaBieZ|ZyFleX » Tue Dec 10, 2002 10:14 am
i have tryed whit / and \
and {} instad of "" it still dosent work...
the error message look like this
[14:13] Tcl error [stats]: couldn't execute " C:\stats.bat ": no such file or directory
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Tue Dec 10, 2002 12:47 pm
Just to note, there seems to be a space between the " and the c:, and again at the end of it.
I don't know if this is the way Tcl prints the error, or part of the problem.
However, as the error sugests, it is unable to find the file.
R
RaBieZ|ZyFleX
Post
by RaBieZ|ZyFleX » Tue Dec 10, 2002 1:12 pm
if i remove the littel space i get this error message:
Tcl error [stats]: couldn't duplicate input handle: bad file number
how to fix it ?
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Tue Dec 10, 2002 2:00 pm
Then the space was the problem.
This has been answered many times on the forum, and also has a possible fix attached.
Tcl somhow loses the ability to access the data coming from the program, and thus returns this error.
It may well be a Tcl related error, and as such, would require that you seek help from the Tcl developers.
It may also be related to the w3ay eggdrop relinquishes control of stdin and stdout. Maybe disabling these functions might help.
I am about to try and make my first compile of windrop, so I will make it available, to see if this helps your plight.
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Tue Dec 10, 2002 2:13 pm
A quick look over at
http://windrop.sourceforge.net/ sugests that this problem has been around since 1.5.2.
You can use any of the 1.4 versions of windrop, and there should be no problem.
R
RaBieZ|ZyFleX
Post
by RaBieZ|ZyFleX » Tue Dec 10, 2002 2:30 pm
k thx for the help :=)