I don't really think so. In all the examples I saw, cmdfile goes with the calling of expect. You can use expect -f cmdfile 9or whatever filename you have the commands in) but even this doesn't appear to be necessary. Cheryl