I am using Win2k pro...

I tested with both Kix32 and Kix32c and both work.

I do not have notepad running when the script runs as the script launches notepad already. If notepad IS running, the script opens a new one and uses it instead.

Are you getting an error.

Kix32.exe and Kix32c.exe are the same except that Kix32c.exe uses the current command prompt window.

I dressed my original script for the previous post, here is the original.

copypastenotepad.kix

code:

break on
cls


@wksta ", 123.45.67" ?

$=sendkeys("~ es{enter}")


run "notepad"

while setfocus("Untitled - Notepad")<>0 loop


$=sendkeys("^v^sc:\scripts\filename.txt{enter}~{f4}")


cj