Open a dos windows at your working folder and run first "SETPSSEPATH.BAT" provided by PTI during the installation of PSSe (which set the path to the BIN folder where all the PSSe executables are located.
enter: .. c>..WF>iplan mycode[.ipl]
and the corresponding *.irf will be saved in the same working folder.