Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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 (Beadle) 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 $!";

      poj

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2020-09-28 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (144 votes). Check out past polls.

    Notices?