I need to create a script to telnet to 2 or more boxes and then execute a program at the same time. I am talking about the opposite of sequential.
anybody know to do this?
thanks
Hello
I wrote a program that reads a txt file and use it as a template/reference.
so when I distribute the program I would give the exe (I compile the pl) and the txt file.
The thing is I dont want this txt file to be exposed to users (security reason,etc etc). What are my alternatives?
make...
Hi ,
how can I search and replace the second (or n) occurrence ?
this will replace ALL $b with $c
$a =~ s/$b/$c/g;
I just want to replace the 2nd $b with $c
Thanks
Hi,
anybody knows where the information regarding QOS packet scheduler is stored (ie which registry, WMI)
I am trying to create a simple script to detect whether it is on or off.
Thanks
You are right. Some of the processes get the error some don't (see below). However when I take out p.StartTime I get all processes without error. so what is special with StartTime and I am Administrator why I can't get the StartTime for some?
13: svchost:960: Tuesday, October 06, 2009 1:45:15...
it outputs the result I wanted. but at the end it throws the error
explorer: 2656: Tuesday, October 06, 2009 1:48:15 PM
svchost: 960: Tuesday, October 06, 2009 1:45:15 PM
ConsoleApplication1.vshost: 5676: Thursday, October 08, 2009 10:16:22 AM
smax4pnp: 2916: Tuesday, October 06, 2009...
it fails on theprocess.StartTime.
"Win32Exception. Access is denied"
I am administrator. so dont understand why I got the message.
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
namespace ConsoleApplication1
{
class Program
{
static...
I am a newbie. when I run this program I get
"IndexOutOfRangeException was unhandled"
it points to this line
" System.Console.WriteLine(args[0]);"
can you help?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication2
{
class...
what would happen if there are 2 userva in boo.ini in window server 2003?
which one will be used? will this cause system crash?
i.e
[Boot Loader]
Timeout=30
Default=multi(0)disk(0)rdisk(0)partition(2)\WINNT
[Operating Systems]
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Microsoft Windows Server...
How can I calculate Standard Deviation (STDEV) in C#? I can't find the library/class for it.
C# has Math class but not Stats class ?? how odd..
Thanks in advance for the help.
I don't think that the path variable is going to stay once the command session is closed."
so there is no way we can set windows path using perl ? I know I can modify the registry using perl to set the path. But that requires reboot.
I need to add the path using perl which 1)permanent 2)...
I would like add path to windows using perl
"set path=%path%;c:\data"
so I have tried all these below without success:
1)
$a = `set path=%path%;c:\\utils`;
print $a;
2)
system("set path=%path%;c:\\utils");
can anybody help. what I did wrong ?
can anybody help? thanks in advance for your help.
Hi,I have a txt file from winmsd (windows system info) which is in Little-endian UTF-16 Unicode format. I am writing a perl script which suppose to read this file.
Can perl masters in this forum shed some lights to me on how to convert this Little-endian UTF-16 Unicode format to ASCII/UTF-8...
I have hundreds of thousands of data points stored in @data and need to do 100 data point moving average. Can anybody share the logic? I know I have to do pop or shift but just can't figure out how to do the moving average.
thanks in advance
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.