C:\>set prom PROMPT=$P$G C:\>perl -e "system('set prom')" PROMPT=$P$G C:\>perl -e "system('set.exe prom')" Environment variable .exe not defined