error on executeprogram in method

Hi,
I would like to execute this method:

application.executeProgram("print /D:COM1 C:\\users\\gianni\\documents\\gloria.doc");

but when I try I have:

java.io.IOException: Cannot run program “print /D:COM1 C:\users\gianni\documents\gloria.doc”: CreateProcess error=2, Impossible to find specified file.
java.io.IOException: CreateProcess error=2, Impossible to find specified file.

Anyone have any thoughts?

You cannot execute a command like that, either put that in a bat file and run the bat or run cmd with arguments (what to execute).

Tank You very much. Compliments for Your perfect and prompt reply.
Excuse for my ignorance.
Gianni Pinna