Error with Plink

Hello. I have a TCL script that logs in to a server using SSH. As SSH isn't available in windows,I used Plink to do the job.The script works fine on my PC and 2 of my friend's PC.
However, on one PC, I get the following error message:

"'D:\scripts\plink.exe' is not a Win32 Console application."

All the aforementioned machines run Windows XP(32 bit),including the one displaying the error.
plink.exe is present in the directory d:\scripts\. This has been added to the Path variable(in environment varaibles). Also, when I try the plink command in command prompt (plink some_ip_address) I am able to login successfully. Please tell me how to resolve the problem. thanks in advance.

---------- Post updated at 05:09 PM ---------- Previous update was at 12:21 PM ----------

Please help me :frowning:

Bumping up posts or double posting is not permitted in these forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Thank You.

The UNIX and Linux Forums.