To answer your second question, perl2exe has a -gui option that causes your compiled .exe not to create a console when it runs. Note that I found this in the perl2exe manual.
For the first one, I'm not entirely sure, but my first guess is that it's a code issue. If you could post the source code for a small program that demonstrates this issue and the exact error message that would be helpful.
In reply to Re: perl2exe and spaces in paths
by Errto
in thread perl2exe and spaces in paths
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |