raj esh wrote:
> Dear Guru's,
>  
> I want to set the date of the system. The problem got solved by usiong 
> the following method.
>  
> #####
> use strict;
> use warnings;
> my $result = system ("date < newdate.txt");

You don't need a file, you can just pass it on the commandline:

        system "date 06-14-07";

> #####
> In newdate.txt i entered my own date.
>  
> I used Win32::API module in another perl code. It was very helpfull 
> indeed. The replies gave me more knowledge and the correct way of 
> approach in solving the problem. I am very thankful to every one.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to