User Profile

Collapse

Profile Sidebar

Collapse
tovenkatesh82
tovenkatesh82
Last Activity: Nov 8 '07, 06:41 AM
Joined: Mar 7 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • tovenkatesh82
    replied to copying files
    in Perl
    kevin:
    let me give you an example program

    You have been asked to write a program which ask you to run some exe files from the command prompt.

    I belive following steps should be followed:
    1)Invoke the command prompt.
    2)move to the dir where you have kept your exe file.
    3)execute the exe.

    I hope you understand what exactly i am looking at.
    See more | Go to post

    Leave a comment:


  • tovenkatesh82
    replied to copying files
    in Perl
    you answered my question other way, i want to invoke command prompt using a perl script and then execute some commands on it.
    See more | Go to post

    Leave a comment:


  • tovenkatesh82
    replied to copying files
    in Perl
    thanks very much it works fine now.

    Do you have any idea how could i access command prompt using perl script,do i need to use any module?

    I want to execute some commands from command prompt.
    See more | Go to post

    Leave a comment:


  • tovenkatesh82
    replied to copying files
    in Perl
    true it prints all the data as $_[2]..any idea how can i fix it!!
    See more | Go to post

    Leave a comment:


  • tovenkatesh82
    replied to copying files
    in Perl
    Hi,
    following piece of code i tried,and used file::copy module which u had suggested

    [CODE=perl]
    Fn_Copy("D:\\St icUtils", "$path",
    qw(SticConf.exe ,sticpref.exe,s ticdump.exe,sti cclient.exe)
    );

    sub Fn_Copy {
    my $Sourc = $_[0];
    my $Destination = $_[1];
    @_ = ($_[2],$_[3],$_[4],$_[5]);

    foreach ( @_) {
    print $Sourc."\\".$_;...
    See more | Go to post
    Last edited by miller; Aug 1 '07, 04:03 PM. Reason: Code Tag and ReFormatting

    Leave a comment:


  • tovenkatesh82
    started a topic copying files
    in Perl

    copying files

    Hi All,
    I want to copy some files from one dir in d:, to another dir in c:, i tried using xcopy but it says too many parameters!!pls give suggestions

    another thing i wanted to know is how can i invoke command prompt from perl??
    See more | Go to post

  • tovenkatesh82
    started a topic how to generate log file??
    in Perl

    how to generate log file??

    HI all,
    I have writen some perl script to automate some third party web application and i want to generate a log for my perl script.Please post your suggestions on how can i achieve it???
    See more | Go to post

  • tovenkatesh82
    started a topic win automation
    in Perl

    win automation

    Hello, I am trying to automate a third party application on windows using perl, i am using win spy to identify the fields,it works perfectly for windows applications but not for any other third party application, can you tell me some tool which is capable enough to identify third party applications.
    See more | Go to post

  • tovenkatesh82
    started a topic new to the python

    new to the python

    can we automate desktop applications with python
    See more | Go to post

  • tovenkatesh82
    started a topic not able to install perl modules using ppm
    in Perl

    not able to install perl modules using ppm

    hi,
    i tried installing some perl modules through ppm but geeting an error saying
    "could not locate a ppd file for the package".
    See more | Go to post

  • tovenkatesh82
    replied to CGI Script - Not getting form value
    in Perl
    hi kevin....do i need to install or add some module to my code before using
    the param function as the perl compiler is not recognizing the param function....
    i looked into CPAN but i did not got anything concrete....do u have any idea
    regarding this??...
    See more | Go to post

    Leave a comment:


  • tovenkatesh82
    replied to CGI Script - Not getting form value
    in Perl
    tried out whatever you suggested but it does not works.......can you tell me why
    not to use the machine path?......sinc e i am working on iis server i saved the
    .cgi file in wwwroot dir.......the path i mentioned in the html file is http://localhost/b.cgi...
    See more | Go to post

    Leave a comment:


  • tovenkatesh82
    replied to CGI Script - Not getting form value
    in Perl
    yes the cgi script is working fine.....i have done a sanity check....
    See more | Go to post

    Leave a comment:


  • tovenkatesh82
    started a topic CGI Script - Not getting form value
    in Perl

    CGI Script - Not getting form value

    Code:
    <html>
    <head>
    <title></title>
    <body>
    <form name=name form method=post action=C:/inetpub/wwwroot/b.cgi>
    enter your name:<input name=name type=text><br>
    <input type=submit>
    </form>
    </body>
    </html>
    below is the b.cgi file
    Code:
    #!/perl/bin/perl5.6.1.exe
    use strict;
    use CGI qw(:standard);
    ...
    See more | Go to post

  • tovenkatesh82
    started a topic server installation

    server installation

    hi..while installing apache ...i get a prompt saying to fill server info.....what should i fill in the following fields....?
    1)network domain
    2)server name
    3)administrator email address
    any way ..by default it takes some values and even installs but i am not able to run my .cgi files on the server.......is there something i need to change with the above mentioned fields.......pl ease reply.
    See more | Go to post

  • shebang line does not makes a difference for this case....
    See more | Go to post

    Leave a comment:


  • tovenkatesh82
    started a topic CGI - Fatal error creating secondary file
    in Perl

    CGI - Fatal error creating secondary file

    Hi

    I wrote a cgi code and in output another cgi file is getting created.....jus t
    have a look on the code...

    Code:
    #!/usr/bin/perl
    use strict;
    use CGI::Carp qw(fatalsToBrowser);
    die ’Some disaster!’;
    print "Content type:text/plain\n\n";
    print "hello";
    here is the output:

    Code:
    Content-type: text/html
    
    <H1>Software
    ...
    See more | Go to post

  • thanks i was able to resolve the issue....
    See more | Go to post

    Leave a comment:


  • tovenkatesh82
    started a topic World Executable
    in Perl

    World Executable

    while going through some study matterial i found following text:
    "Check the permissions on your cgi program. If it is not world executable then it won’t work."
    can some one explain me what the text in bold applies to??
    See more | Go to post

  • tovenkatesh82
    replied to Apache2 starting problem
    hi if you are working on windows machinr install .msi file for apache it works....
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...