Thank you for your reply. That way does work. However, I want to execute wpi right after the xp install automatically before windows logs in.   So instead, I'm going to try putting the wpi folder in the $1 folder and use the runwpi.exe.  Although, I think i did this before and it still failed to execute.