Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 (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 $!";

      poj

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
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 avoiding work at the Monastery: (2)
As of 2022-05-29 05:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?