I suspect your problem is in line 171:
if(system(-r $createdir))
You need to learn how to debug on your own. You are not a programmer if you do not know how to debug. This site is not a debugging service.
In reply to Re: CMD prompt error
by Anonymous Monk
in thread CMD prompt error
by sharief
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |