Jump to content

ophiel

Member
  • Posts

    66
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by ophiel

  1. he gave you a perfectly good way to accomplish what you want.

    this is my cmdlines.txt:

    [COMMANDS]
    "RunOnceEx.cmd"

    this is first line in my RunOnceEx.cmd:

    FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\2Fast_XP.nfo SET CDROM=%%i:

    in my RunOnceEx.cmd i then run them like so:

    SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

    REG ADD %KEY% /V TITLE /D "Installing Applications..." /f
    REG ADD %KEY%\005 /VE /D ".Net Framework 2.0" /f
    REG ADD %KEY%\005 /V 1 /D "%cdrom%\Install\Net20\install.exe /q" /f

    it works like a charm. when using a forum you should perhaps ignore what you think you know and be more open to suggestion.

  2. instead of making a self-extracting archive, i would recommend using makecab to create a .cab archive of your files.

    then afterwards you would use a batch script like this to decompress:

    @echo off
    expand myfiles.cab %1

    if the script was named filecopy.bat, you would call it like this: filecopy.bat d:\i386

    note: expand and makecab are microsoft utilities that come with xp

  3. i don't understand why you would want to replace a line in a batch script. it would require patching the file and kind of negates the simplicity of a batch file.

    i sometimes have a batch file create another batch file via echo > file.txt, perhaps that would be a better solution than trying to patch an existing script?

  4. xp has improved windows in all regards: compatibility, speed, and stability.

    comparing a server with a crappy home xp isn't a fair comparison.

    just as you have learned over the years how to properly tailor 2000 to your server needs, xp needs some trimming and tweaking to bring out it's workstation best.

    xp pro sp2, with about half the features turned off, makes for the most stable and productive workstation i've had in years.

    the fact you have a 2gb system partition speaks volumes about your own technical "genius". the real geek knows that having a system partition was -always- a flawed theory and in reality it can do nothing but slow down your overall harddrive access.

  5. one man's security is another's annoyance.

    i've never had an isp account hacked, and if it ever did happen, well i can afford the 13 bucks.

    i now see the value of the filtering service, i had never thought of an end user seeing it as a plus, for some reason i was thinking it was beneficial for the ISP somehow.

    i guess i've just never been too concerned about my isp accounts. i never use their associated email accounts and i use evil passwords. i figure that's good enough.

  6. these are performance counters i discovered myself. they are default counters for xp pro sp2 + .net framework 2.0:

    each of these keys is located in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
    each line represents a separate key.

    .NET CLR Data\Performance
    .NET CLR Networking\Performance
    .NET Data Provider for Oracle\Performance
    .NET Data Provider for SqlServer\Performance
    .NETFramework\Performance
    ASP.NET\Performance
    ASP.NET_2.0.50727\Performance
    aspnet_state\Performance
    ContentFilter\Performance
    ContentIndex\Performance
    ISAPISearch\Performance
    MSDTC\Performance
    PerfDisk\Performance
    PerfNet\Performance
    PerfOS\Performance
    PerfProc\Performance
    PSched\Performance
    RemoteAccess\Performance
    RSVP\Performance
    Spooler\Performance
    TapiSrv\Performance
    Tcpip\Performance
    TermService\Performance
    WmiApRpl\Performance

    please share any performance counters you know of that aren't on the list.

  7. I'm guessing that filtering access by MAC address would be too labor-intensive for my ISP. It spans most metropolitan areas in a fairly large geographical area with potentially thousands of users. Much of the system is automated.

    it's normal for MACs not to be filtered. only nosy little obscure internet providers do that.

    the major carriers like earthlink and sbc could care less what your MAC is so long as you provide a valid id & password at login.

    i imagine the cost of thousands of MAC-related technical support calls would cancel out -any- sort of benefits that MAC filtering might provide

  8. copy and paste these lines into a file called source.bat:

    @ECHO off

    IF NOT [%1]==[] goto start

    ECHO.
    ECHO no command line argument passed.
    ECHO.

    GOTO :eof

    :start

    ECHO argument passed = %1

    after that if for instance you ran source.bat d:\i386 the %1 variable would equal d:\i386, try the example for yourself.

    you can also set your own variables within the .bat code using set.

    for instance:

    set test=this is a test

    later in your code %test% would equal this is a test

×
×
  • Create New...