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 SkipVought 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: *

  1. jr8rdt

    Execute program on 2 boxes at the same time

    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
  2. jr8rdt

    Alternative to a Text File

    I thought about this. but it's just too long/too big. the file has approx. 5K lines.
  3. jr8rdt

    Alternative to a Text File

    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...
  4. jr8rdt

    search and replace the second occurrence

    it works!! Thanks
  5. jr8rdt

    search and replace the second occurrence

    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
  6. jr8rdt

    QOS Packet Scheduler and windows server 2008

    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
  7. jr8rdt

    Port Blocker

    Hi, I would like to build an app that can block UDP and TCP port so that data coming to this port will be blocked. I dont know where to start? Ideas?
  8. jr8rdt

    Win32Exception. Access is denied

    I gave up. if anyone can help. I would appreciate. jmeckley, do you know how to?
  9. jr8rdt

    Win32Exception. Access is denied

    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...
  10. jr8rdt

    Win32Exception. Access is denied

    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...
  11. jr8rdt

    Win32Exception. Access is denied

    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...
  12. jr8rdt

    Args-> IndexOutOfRangeException was unhandled

    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...
  13. jr8rdt

    2 userva in Boot.ini (windows server 2003)

    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...
  14. jr8rdt

    Standard Deviation (STDEV) in C#

    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.
  15. jr8rdt

    Adding windows path via perl

    it is for automation of hundreds of remote production servers. if not perl, what is the alternative?
  16. jr8rdt

    Adding windows path via perl

    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)...
  17. jr8rdt

    Adding windows path via perl

    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.
  18. jr8rdt

    decode / encode Little-endian UTF-16 Unicode

    tsuji, your code works. thanks for the help. YOU ARE DA MAN!!!!
  19. jr8rdt

    decode / encode Little-endian UTF-16 Unicode

    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...
  20. jr8rdt

    Moving Average

    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

Part and Inventory Search

Back
Top