Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by FixitUP

  1. I am doing some file cleanup.

    I am trying to find out when a program was run last.

    For example, I have Microsoft Visual C 2010 x86 Redistributable and would like to know if it is being used at all.

    If I don't need it and it's not being used by something else, I will delete it.

    I used appwiz.cpl and had it list by last day used, but many programs that have been recently used are not listed.

    The programs that windows does track are only looked at for the last 30 days. Can that be increased ?

    I could look to see if there are new entries in the program's folders, but that would be very time consuming.

    I am looking for some suggestions.



  2. It took around 4.5 seconds to find 2 identical search.bat files in different directories using s*.bat as the search pattern.

    What do I have to do to have it work like this ?

    search.bat s*.asm without the search pattern being hard coded into the batch file.

    I recall using %1.

    :: Search.bat Dave Benham, mousio, Magnum,skywalker,



    @echo off


    echo Timer has started.


    call :StartTimer


    :: Add your script functionality here


    @echo off

    setlocal disableDelayedExpansion

    set "searchRoot=."

    set "fileMask=s*.bat"

    set "prior=noMatch"

    for /f "tokens=1,2 delims=?" %%A in (

    '(for /r "%searchRoot%" %%F in ("%fileMask%"^) do @echo %%~zF:%%~nxF?%%~fF^)^|sort'

    ) do (

    set "current=%%A"

    setlocal enableDelayedExpansion

    if !prior! equ !current! (

    if defined priorFile (


    echo !priorFile!



    echo %%B

    set "priorFile="

    ) else (


    set "prior=%%A"

    set "priorFile=%%B"



    call :StopTimer

    call :DisplayTimerResult


    goto :EOF


    :: Store start time

    set StartTIME=%TIME%

    for /f "usebackq tokens=1-4 delims=:., " %%f in (`echo %StartTIME: =0%`) do set /a Start100S=1%%f*360000+1%%g*6000+1%%h*100+1%%i-36610100

    goto :EOF


    :: Get the end time

    set StopTIME=%TIME%

    for /f "usebackq tokens=1-4 delims=:., " %%f in (`echo %StopTIME: =0%`) do set /a Stop100S=1%%f*360000+1%%g*6000+1%%h*100+1%%i-36610100

    :: Test midnight rollover. If so, add 1 day=8640000 1/100ths secs

    if %Stop100S% LSS %Start100S% set /a Stop100S+=8640000

    set /a TookTime=%Stop100S%-%Start100S%

    set TookTimePadded=0%TookTime%

    goto :EOF


    :: Show timer start/stop/delta

    echo Started: %StartTime%

    echo Stopped: %StopTime%

    echo Elapsed: %TookTime:~0,-2%.%TookTimePadded:~-2% seconds

    goto :EOF

  3. The trick is to know the minimum info about the order (physically, on the disk), the size and the properties of the partitions that is required to perform that operation if it is possible. Drive letters are irrelevant. Are you booting from an external disk ?

    Also what has this got to do with "Programming" ?

    C++, Delphi, VB/VBS, CMD/batch, etc.)

    I thought etc. might cover my question. :-)

    What I did was move the unallocated space in from of the drive that I wanted it to merge with.

    Then I expanded that drive into the unallocated space.

  4. I can't find out why the power options aren't working. Monitor and hard drive should be shut down after 15 minutes, but they aren't

    So far I have

    1. Applied a windows patch

    2. I have the newest video drivers

    Anything else I can check ?


  5. 1 - I wanted a i386 directory, so I dled sp3 and installed it and got that i386 dir.

    Unfortunately, there were a lot of problems after rebooting.

    73 instances of explorer opened, and about 4 errors with other things.

    Of course, the ever useless event viewer was empty of any errors.

    2 - I stopped aclntusr.exe and kusrinit.exe and miraculously when I login, XP immediately tells me it is saving my settings and it shuts down.

    I tried BartPE, but it doesn't let you run services to get programs restarted.


    1 - Makes NO sense! What do you MEAN? An XP-SP3 ISO or the SP3-PACKAGE?

    2 - aclntusr.exe= Altiris Client Management Suite / kusrinit.exe=The Kace KBOX Agent... Did you install a WAREZ???

    It will make sense when I get it fixed.

    I don't think whether an iso or M.S.s own SP is germaine.

    As a programmer I work hard at making sure my programs work correctly which includes checking for conditions before the program starts.

  6. If you have downloaded and installed Service Pack 3, then you should be able to uninstall it and/or go back to the restore point which is created before the installation.

    "Should" is the operative word.

    I have installed Serv packs a number of times but never had this much trouble.

  7. I wanted a i386 directory, so I dled sp3 and installed it and got that i386 dir.

    Unfortunately, there were a lot of problems after rebooting.

    73 instances of explorer opened, and about 4 errors with other things.

    Of course, the ever useless event viewer was empty of any errors.

    I stopped aclntusr.exe and kusrinit.exe and miraculously when I login, XP immediately tells me it is saving my settings and it shuts down.

    I tried BartPE, but it doesn't let you run services to get programs restarted.


  8. I was running Windbg when windows went to hiberation.

    I could not get out of it until I unplugged the battery and plugged in the line cord.

    This may be unrelated but I have a bunch of these in the Event Viewer.

    I had a CD in the drive for a while, and I just took it out.

    Event Type: Error

    Event Source: Cdrom

    Event Category: None

    Event ID: 11

    Date: 12/28/2012

    Time: 1:53:41 PM

    User: N/A



    The driver detected a controller error on \Device\CdRom0.

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


    0000: 03 03 68 00 01 00 b8 00 ..h...¸.

    0008: 00 00 00 00 0b 00 04 c0 .......À

    0010: 01 01 00 00 00 00 00 00 ........

    0018: 00 00 00 00 00 00 00 00 ........

    0020: 00 08 77 25 00 00 00 00 ..w%....

    0028: 8f 14 12 00 00 00 00 00 .......

    0030: ff ff ff ff 02 00 00 00 ÿÿÿÿ....

    0038: 40 00 00 c4 02 00 00 00 @..Ä....

    0040: ff 20 0a 12 4c 02 00 00 ÿ ..L...

    0048: 00 00 00 00 0a 00 00 00 ........

    0050: 00 00 fd 86 30 c2 1e 87 ..ý0Â.

    0058: 00 00 00 00 08 80 70 87 .....p

    0060: 00 00 00 00 e1 ae 04 00 ....á®..

    0068: 28 00 00 04 ae e1 00 00 (...®á..

    0070: 01 00 00 00 00 00 00 00 ........

    0078: 70 00 04 00 00 00 00 0a p.......

    0080: 00 00 00 00 3e 02 00 00 ....>...

    0088: 00 00 00 00 00 00 00 00 ........

  9. 0:000> !sym noisy

    noisy mode - symbol prompts on

    0:000> lmvm ntdll

    start end module name

    7c900000 7c9b2000 ntdll (pdb symbols) c:\symbols\ntdll.pdb\CEFC0863B1F84130A11E0F54180CD21A2\ntdll.pdb

    Loaded symbol image file: C:\WINDOWS\system32\ntdll.dll

    Image path: ntdll.dll

    Image name: ntdll.dll

    Timestamp: Thu Dec 09 09:15:09 2010 (4D00F27D)

    CheckSum: 000AFD30

    ImageSize: 000B2000

    File version: 5.1.2600.6055

    Product version: 5.1.2600.6055

    File flags: 0 (Mask 3F)

    File OS: 40004 NT Win32

    File type: 2.0 Dll

    File date: 00000000.00000000

    Translations: 0409.04b0

    CompanyName: Microsoft Corporation

    ProductName: Microsoft® Windows® Operating System

    InternalName: ntdll.dll

    OriginalFilename: ntdll.dll

    ProductVersion: 5.1.2600.6055

    FileVersion: 5.1.2600.6055 (xpsp_sp3_gdr.101209-1647)

    FileDescription: NT Layer DLL

    LegalCopyright: © Microsoft Corporation. All rights reserved.

  10. CommandLine: C:\masm32\SOURCE\excep.exe

    Symbol search path is: srv*C:\WINDOWS\Symbols*http://msdl.microsoft.com/download/symbols.

    Executable search path is:

    ModLoad: 00400000 00403000 image00400000

    0:000> .reload

    Reloading current modules


    0:000> .reload

    Reloading current modules


    ModLoad: 7c900000 7c9b2000 ntdll.dll

    ModLoad: 7c800000 7c8f6000 C:\WINDOWS\system32\kernel32.dll

    ModLoad: 7e410000 7e4a1000 C:\WINDOWS\system32\user32.dll

    ModLoad: 77f10000 77f59000 C:\WINDOWS\system32\GDI32.dll

    (b6c.c14): Break instruction exception - code 80000003 (first chance)

    eax=00241eb4 ebx=7ffde000 ecx=00000007 edx=00000080 esi=00241f48 edi=00241eb4

    eip=7c90120e esp=0012fb20 ebp=0012fc94 iopl=0 nv up ei pl nz na pe nc

    cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202

    *** ERROR: Symbol file could not be found. Defaulted to export symbols for ntdll.dll -

  11. Attention Deficit Disorder.

    Honestly when that app was first released it had to take a lot longer than that to run.

    Is 2.5 seconds gained worth the hours you have already wasted searching for a way to make that app a breath shorter?

    People have absolutely NO patience today.

    IMHO things like this is the exact reason we have windows 8 being rammed down our throats.

    I have plenty of patience. I like to make things better.

    Win 8 isn't being forced on anyone. You didn't go buy it did you ? :-)

    Later gator,


  12. This is not a going to become a game where we try to ascertain your real question in order to provide the answer you want.

    Please provide us with a fully formed and informed question.

    How much faster do they run in an older Operating System?

    Do you consider XP to be an old O.S. ?

    I will give you more details.

    When you use Start /Run you can enter cmd.exe and get a simulated DOS environment.

    I run some 16 bit programs from there.

    The name of one of the programs is tasm.exe.

    That is a program that assembles 16 bit code.

    When I run that program it takes 3 seconds to complete it's task.

    It should be taking less than .5 seconds.

    If there is any other info you need, please let me know.


  13. So MSFNers, I am new here and this forum seems to "my idea" of what a decent online Windows community should be, where people can talk without insults and belittling. So as a Windows enthusiast, I have a few curious questions:

    1. How many of you are XP diehards with no intention of moving to Windows 7/Vista?

    2. Are you trying to move to Windows 7 but facing some migration issue or removed features? What are they or why haven't you moved to Windows 7?

    3. What will be the fate of poor use XP diehards if MS never fixes those issues?

    4. Even if you have migrated to Windows 7, do you miss something from XP or did you like XP more?

    Some answers I would like to give to these question for myself:

    1. XP was my idea of the perfect OS (well not the security before SP2 and UAC is certainly the right step) but otherwise it was really good. Since Longhorn betas, I am trying to move to Windows Vista/7 but was blocked by many issues..mainly removed features (which I'm sure you must have read now). I absolutely love and adore many features of Windows Vista/7 too, these are also great OSes. So my intention is to move to Windows 7 of course, I am not a luddite clinging on to obsolete stuff but I will FOREVER keep XP running natively on at least one PC but the superb backward compatibility for dozens of games and old apps it offers all the way back which a virtual machine can't do justice to.

    2. After years of finding alternatives and making compromises, learning the new way of doing things and ignoring the minor issues, almost all of my issues with Vista/7 are gone except the auto sorting problem. (For numerous reasons, I won't use a third party file manager, there isn't one that I like) :(

    3. Good news: XP x64 will get security patches till July 2015 because of Server 2003 codebase. Are you concerned like me about End of Life?

    4. I will miss a few things of XP even if I move to W7 like service pack slipstreaming (what better fun place than MSFN to do all the unattended stuff) but Vista/7 have far better deployment tools, and the speed of servicing which was extremely fast. I will miss the surround sound support in old games (but Alchemy fixes some of them), I will miss XP Media Center whose UI I find very much better etc.

    You need not answer all four questions. :) I just want to know how many MSFNers still like Windows XP without me getting strange looks.

    I will stick with XP. It is an excellent product.

    There is nothing that I need in later versions of Windows.

    I use Windows 7 on occasion on another computer and like that it handles badly written programs better with more information given.

    There is a tendency for choices to be taken away from users who move to a newer O.'S.

    I program in assembly and can still run 16 bit programs just fine in addition to the 32 bit ones I write.

    I follow safe computing practices and have never gotten a virus or trojan.

    Both Windows 7 and Vista have a least one security flaw.

    This flaw has been in existence since XP came out.

    Have a great day,


  • Create New...