error when make pfile from spfile
I am trying to make the pfile from spfile, when I create the pfile, I specify the location and I got the error:
SQL> connect sys/vms700 as sysdba
SQL> create pfile='c:\temp\init.ora' from spfile;
create pfile='c:\temp\init.ora' from spfile
ERROR at line 1:
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
I did similar to this on another instance on different server and it worked fine.