Prompt => '/ERX02>$/' But in your example the prompt returned is ERX02#