Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
There's more than one way to do things
 
PerlMonks  

Re: CMD prompt error

by poj (Curate)
on Jan 23, 2012 at 21:03 UTC ( #949524=note: print w/ replies, xml ) Need Help??


in reply to CMD prompt error

Try replacing this code

if(system(-r $createdir)) {} else { $mw->messageBox (-default => 'Ok',-title => 'Alert!',-message => "Crea +te C:/temp directory first to run the program", -type => 'Ok',); exit; }
with this
unless ( -d $createdir ){ $mw->messageBox ( -default => 'Ok', -title => 'Alert!', -message => "Create $createdir directory first to run the program", -type => 'Ok',); exit; }
poj


Comment on Re: CMD prompt error
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://949524]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2014-04-20 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls