1. Create a command/batch file with this line - "@echo %1"
Place this file under %PS_HOME%\bin\server\WINX86
2. Create a new Process Type in PeopleSoft. Let's call it - "COMMANDLINE"
3. Create a Process "RETPWD" which will have the Process Type as "COMMANDLINE". I'm using Microsoft as the Database type as the PS DB is hosted on MSSQL 2005 SP2
4. Add this Process Type to your Server definition. Say PSNT