I guess you are talking about accessing the exec() method of the java.lang.Runtime class. Below is a bit of example code that should do what you are describing. Please note that I am working on a Linux system, and used "rxvt" as my system call. You should be able to substitute "notepad.exe" for this without much trouble. Please check the API documentation for more details.
Philip Shanks, SCJP - Castro Valley, CA
My boss never outsources or has lay-offs, and He's always hiring. I work for Jesus! Prepare your resume!
subject: How can I call an external program in the java?