Perl Error:sweaver is not recognized as internal or external

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
Perl
Posts: 2
Joined: Fri Sep 25, 2009 2:27 pm

Perl Error:sweaver is not recognized as internal or external

Post by Perl »

Windows Server 2003, Error = sweaver is not recognized as an internal or external command, operable program or batch file. I have a perl script in which it calls out to a program sweaver. sweaver.exe is the Pitney Bowes Streamweaver software executable which resides on this server. in the code it says:

my $sw = "sweaver.exe";

when this perl script executes, it stops at this line. can anyone help me get the program to recognize sweaver.exe. sweaver resides in c:\pitney bowes\streamweaver nt\bin\sweaver.exe. i also checked permissions and everything is okay. Please help if anyone can...this has been kicking my behind for days!
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It either has to be in your patch, or you need to provide the full path. The command:

Code: Select all

dir /x
Will give you full 8.3 paths. Use that.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests