How to run scripts as administrator in Windows using VBS?

rajeshkumar created the topic: How to run scripts as administrator in Windows using VBS? How to run scripts as administrator in Windows using VBS? Set WshShell = WScript.CreateObject(“WScript.Shell”) If WScript.Arguments.length…

Read more »

How to Run a Program as an Administrator in Windows

rajeshkumar created the topic: How to Run a Program as an Administrator in Windows How to Run a Program as an Administrator in Windows Good URL- www.sevenforums.com/tutorials/11841-run-administrator.html Regards, Rajesh Kumar…

Read more »

Passing command line arguments separated by comma

scmuser created the topic: passing command line arguments separated by comma Any sample code in vb script to pass command line arguments separated by comma???

Read more »

Function in vb script

rajani created the topic: function in vb script Develop a function that accepts a string of names separated by comma add those names in an array and display the names…

Read more »

Throw new Error(‘npm.load() required’)

rajeshkumar created the topic: throw new Error(‘npm.load() required’) Error: C:\Program Files\nodejs\node_modules\npm\lib\npm.js:37 throw new Error(‘npm.load() required’) ^ Error: npm.load() required at Object.npm.config.get (C:\Program Files\nodejs\node_modules\npm\lib\npm.js:37:11) at exit (C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:49:27) at process.errorHandler (C:\Program…

Read more »

Check the exit code of the last command in batch file?

rajeshkumar created the topic: check the exit code of the last command in batch file? Test for a return code greater than or equal to 1: if ERRORLEVEL 1 echo…

Read more »

Get the application exit code from a Windows command line?

rajeshkumar created the topic: get the application exit code from a Windows command line? Two ways… (1) The results are stored in a pseudo environment variable named errorlevel so… echo…

Read more »

Create a txt file using batch file in a specific folder

rajeshkumar created the topic: Create a txt file using batch file in a specific folder @echo off echo.>”d:\testing\dblank.txt” This creates a file containing a blank line (CR + LF =…

Read more »

Delete files and folder using batch commands…

rajeshkumar created the topic: Delete files and folder using batch commands… del /s /q bin – deletes all files recursively rmdir bin – delete empty folders.. Regards, Rajesh Kumar Twitt…

Read more »

Debut Video Capture Batch Script Automation

rajeshkumar created the topic: Debut Video Capture Batch Script Automation Debut Video Capture Batch Script Automation Start Script Set WshShell = CreateObject(“WScript.Shell”) WshShell.Run chr(34) & “C:\Tools\start.bat” & Chr(34), 0 Set…

Read more »

Tips for learing phyton scripting

suresh created the topic: Tips for learing phyton scripting Hi everyone. Can any one suggest project for becoming the best in python scripting. Any project where we actually use python…

Read more »

Run a .bat file using python code

rajeshkumar created the topic: Run a .bat file using python code from subprocess import Popen p = Popen(“batch.bat”, cwd=r”C:\Path\to\batchfolder”) stdout, stderr = p.communicate() Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn

Read more »

Perforce Python Script Collection.

rajeshkumar created the topic: Perforce Python Script Collection. Implement a script that will do following: 1. Read config file. This file will contain following settings: a. For mail delivery (SMTP)…

Read more »

Remove Control ^M from files

tpatil created the topic: Remove Control ^M from files Single file method perl -pi -e “s/\r//” filename.txt Multiple File Method find . -type f -exec perl -pi -e “s/\r//” {}…

Read more »

I need to a perl script

rajeshkumar created the topic: i need to a perl script Hi , There is a file called test.txt what are all the different ways BEGIN: test 1 test 2 %%%%%%%%%%…

Read more »

The difference between my and local

rajeshkumar created the topic: The difference between my and local There is a subtle difference. In the example below, $::a refers to $a in the ‘global’ namespace. ‘local’ temporarily changes…

Read more »

What is the meaning of rigging?

scmuser created the topic: What is the meaning of rigging? Hi, Could you please tell me meaning of rigging in perl?

Read more »

Parenthesis After Module Name And Without Parenths

scmuser created the topic: parenthesis after module name and without parenths What is the difference between having a parenthesis after module name and without parenthsis after module name?? i.e Package::Module();…

Read more »

Question Regarding to Eval Function

scmuser created the topic: question regarding to eval function I have one question regarding to eval function. I know eval function is use for error checking but I am not…

Read more »

Find a particular word in a paragraph

scmuser created the topic: Find a particular word in a paragraph Write a Perl script to find a particular word in a paragraph???

Read more »

Create a flat file database using perl

scmuser created the topic: Create a flat file database using perl How to create a flat file database as shown below s.no name age city phone 0 hema 22 Calcutta…

Read more »

Find whether a given line of text is starting and

scmuser created the topic: Find whether a given line of text is starting and Write a perl script to find whether a given line of text is starting and ending…

Read more »

Use Vs require in perl

scmuser created the topic: use Vs require in perl Hi, Whats difference between “use” and “require” in perl? rajeshkumar replied the topic: Re: use Vs require in perl use is…

Read more »

Spit out warnings on uninitialized variables Perl

scmuser created the topic: Spit out warnings on uninitialized variables Perl How to Spit out warnings on uninitialized variables in Perl? rajeshkumar replied the topic: Re: Spit out warnings on…

Read more »

Installing Perl modules

rajeshkumar created the topic: Installing Perl modules Perl modules may be installed using the CPAN module or from source. CPAN method perl -MCPAN -e shell (to get an interactive CPAN…

Read more »

Access denied for user ‘ODBC’@’localhost

rajeshkumar created the topic: Access denied for user ‘ODBC’@’localhost I am getting following error while running following command…any help > perl -MCPAN -e “install DBD::mysql”; Error D:\wamp\bin\mysql\MYSQL5~1.36\bin\MYSQLA~1.EXE: connect to server…

Read more »

Perl -MCPAN -e “install DBD::mysql”

rajeshkumar created the topic: perl -MCPAN -e “install DBD::mysql” I am getting following issues while running following command in Windows Machine… perl -MCPAN -e “install DBD::mysql” Error Regards, Rajesh Kumar…

Read more »

Use of use DBI;

scmuser created the topic: Use of use DBI; Hi, why do we use following syntax in perl program. can you please explain it? use DBI; rajeshkumar replied the topic: Re:…

Read more »

Connect to my MySQL database using Perl?

rajeshkumar created the topic: connect to my MySQL database using Perl? #!/usr/bin/perl use DBI; $database = “DBNAME”; $hostname = “DBSERVER”; $port = “3306”; $username = “DBUSERNAME”; $password = ‘DBPASSWORD’; $dsn…

Read more »

Why we use ‘use strict’ in perl

scmuser created the topic: Why we use ‘use strict’ in perl Hi, Why you should ‘use strict’? what is the significant of “strict” in out module? rajeshkumar replied the topic:…

Read more »