Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: no feedback when running a script? (cmd date)

by tye (Sage)
on Dec 05, 2016 at 18:52 UTC ( #1177268=note: print w/replies, xml ) Need Help??

in reply to no feedback when running a script?

my $current = `date +%m/%d/%Y`;

You should try running that command from your Windows cmd prompt:

C:\>date +%m/%d/%Y The system cannot accept the date entered. Enter the new date: (yy-mm-dd) C:\>

So that (it wanting you to enter the new date you want used) could be the problem.

- tye        

Replies are listed 'Best First'.
Re^2: no feedback when running a script? (cmd date)
by flieckster (Scribe) on Dec 05, 2016 at 19:26 UTC
    that seems to have done it. I guess that date was asking for new date but not displaying in the CMD line. thank you!

      You might want to correct this line also
      chdir( $PSD ) or warn "Cant chanage to $JPG $!";


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2022-08-17 16:48 GMT
Find Nodes?
    Voting Booth?

    No recent polls found