This message is generated when the indicated expression is expected to be a string, an expression with a head of InputStream or OutputStream, or a list of expressions of this form.
Off[message] switches off the message; On[message] switches it on. For example: Off[General::strml].
Examples
Basic Examples(1)
The first argument in Write is a symbol rather than a string or a stream: