Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: mohankrishna919
  • Order by date
  1. mohankrishna919

    please advice tried and tried lot times

    when i google it i found it can be accomplished using backtiks but i did not find anything on how to use it please suggest for my code
  2. mohankrishna919

    please advice tried and tried lot times

    my $TSMBACKUPSTATEMENT="C:\\ProgramFiles\\Tivoli\\TSM\\TDPSql\\tdpsqlc\" backup $database FULL /sqlbuff=2 /strip=2 /SQLSERV=$servername"; system("start \"Title\" \"$TSMBACKUPSTATEMENT\""); the above statement is executing fine but when i include one more line to store the output its not working...
  3. mohankrishna919

    error on bad combination of parameters

    #!/usr/bin/perl #use warnings; use strict; use Getopt::Long; my $level = 'full'; my $loc = 'disk'; my $disp ='bkp'; GetOptions( 'd=s' => \ my $database, 'i=s' => \ my $servername, 'level=s' => \$level, 'location=s' => \$loc...
  4. mohankrishna919

    Default values for Getopt::Long

    his is second perl file code which i am calling first perl file #!/usr/bin/perl use warnings; use strict; use Getopt::Long; use Win32::SqlServer qw(SCALAR); GetOptions( 'i=s' => \ my $servername, 'c=s' => \ my $code, ); system( "start perl $code -i $servername -d msdb "); I am calling this...
  5. mohankrishna919

    need to execute batch file inside perl script after replacing string

    got it by passing default values to parameters inside perl script
  6. mohankrishna919

    need to execute batch file inside perl script after replacing string

    ran well can you please suggest about this. GetOptions( 'd=s' => \my $database, 'i=s' => \my $servername, 'TYPE=s' => \my $type, 'LOCATION=s' => \my $loc, If im not entering any values while executing this perl code, how can i set any default valuyes...
  7. mohankrishna919

    need to execute batch file inside perl script after replacing string

    Sure will try and update you Thanks
  8. mohankrishna919

    need to execute batch file inside perl script after replacing string

    my goal is to execute this .cmd file inside perl script this is my .cmd file : "D:\Program Files\Tivoli\TSM\TDPSql\tdpsqlc" backup master FULL /sqlbuff=2 /strip=2 /SQLSERV=test >> D:\logs\test.OUT 2>&1 this is my perl code: #!/usr/bin/perl use warnings; use strict; use Getopt::Long; use...
  9. mohankrishna919

    need to execute batch file inside perl script after replacing string

    Thank you very much you saved my time.
  10. mohankrishna919

    please advice tried and tried lot times

    my $cod="c:\\Program\\ Files"; system("start $cod"); when i am doing this it throws error the error indicates its not accepting space between program and files but my path is c:\program files, there is space between program and files tried lot of ways finally popsting here please help
  11. mohankrishna919

    need to execute batch file inside perl script after replacing string

    my $cod="c:\\Program\\ Files"; system("start $cod"); when i am doing this it throws error the error indicates its not accepting space between program and files but my path is c:\program files, there is space between program and files tried lot of ways finally popsting here please help
  12. mohankrishna919

    need to execute batch file inside perl script after replacing string

    I am new to perl I need to call batch file inside perl script I know how to call using system function but the thing is i need to replace some characters in batch file before calling it. please advise
  13. mohankrishna919

    need advice urgent

    can you please put it in my code im getting errors .please help
  14. mohankrishna919

    need advice urgent

    I am new to perl but after spending late nights for some days , i was able to generate code for database backup. the code will ask you enter servername , enter database name if i enter it will take backup suppose my code is in backup.pl now the thing is i need to get database backup by entering...

Part and Inventory Search

Back
Top