I am using Expect library with the TCL/TK interface on the Unix IRIX systems. I have ported this code using MKS Nutcracker tool to WindowsXP. While tryig to run a command like "spawn ls", the expect library gives an error saying, "The system has no more ptys. Ask your system administrator to create more". I checked this error string in the code and found that it's coming as the code is failing to open "/dev/ptc" on the WindowsXP machine. Could someone suggest suggest how to resolves this problem.