Results 1 to 10 of 10
  1. #1
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    A report from MoonWatcher (VB/any)

    I have to be one of the slowest-on-the-uptake on this planet.

    Meandering around on this Saturday I was wondering about scheduling Defrag to run whenever the computer had been inactive for more than, say, ten minutes (see <A target="_blank" HREF=http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=98&Number=117428&page=0&vie w=collapsed&sb=5&o=0&fpart=>this post</A>). An hour later I realized that I needed something LIKE a screen-saver. Later still, I realised I needed a screen saver (told you I was slow, didn't I?)

    Later .... grabbed some *.BAS from Planet Source, compiled it, found the BAS and FRM that got renamed. Ran it. Got a black rectangle. Huh????

    Read The Free Manual. Saw the bit about renaming the EXE to be a SCR, did that, set the delay for 1 minute and waited.

    Sure 'nuff, there's the black rectangle.

    Very much like a 2-dimensional version of the crystal monolith from Arthur C Clarke's 2001.

    Which makes me very much like MoonWatcher, right? OK, less hair, but alike.

    Oh!


    A screen-saver is just an EXE that has been given a SCR extension.

    Slow? Diabolically Static more like it.



    So,

    (1) I can take my little <A target="_blank" HREF=http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=vb&Number=103801&page=&view =&sb=&o=&vc=1>backGround.EXE</A> and make it my screen saver. If the machine has been inactive for more than 5 minutes, it will change colour. Nice.

    (2) I can, presumably, effect any reasonable Windows/DOS utility into a screen-saver. It shouldn't be too hard to embed Defrag into a screen-saver .....

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A report from MoonWatcher (VB/any)

    Hmmm.
    On the basis a .scrn is just a renamed .exe, then does coming out of a screen-saver simply do an end-task on the screen-saver?
    If so, and you run Defrag as your SS, you may want to change you Shutdown_Defrag routine to a Shutdown_ScanDisk/Repair routine.....

  3. #3
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: A report from MoonWatcher (VB/any)

    Chris,

    Isn't scheduling defrag to run whenever the computer is idle for 10 minutes a bit , er ... anal retentive? If it runs once a day, that is normally adequate to keep a hard drive tidy and it takes only a few minutes even on a 30 Gb drive.
    Charlotte

  4. #4
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A report from MoonWatcher (VB/any)

    Hi Charlotte:
    Once a day! Wow. I just went from once to twice a month. I thought that defragging too often wasn't good for a hard drive, no?

  5. #5
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A report from MoonWatcher (VB/any)

    > idle for 10 minutes a bit , er ...

    Absolutely. However, in this case I'm doing it for a short period, to see if frequent running ovber, say, a three-day period will inhibit the fragementation that seems to be ever-present at the front of my drive C.

    Too-frequent defragging, or any other spurious disk activity, also has to increase the probability of failure sooner than later.



    My drives, defragmented once a week, are tidy.

    Right now I'm puzzled by the fragments that appear right at the head of drive C:. I'd thought that by now the front of the drive ought to be jolly stable.

  6. #6
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A report from MoonWatcher (VB/any)

    > Shutdown_Defrag routine to a Shutdown_ScanDisk/Repair routine

    Heh heh. You're right. I've not implemented this yet, but the sampler I d/l didn't have an am-I-already-running detection routine, so after a zillion copies had been launched, one for each tim the screen was inactive for a minute, I did a power-off reboot.


    I figure that with something as crucial as defrag I have to be careful.

    A generic approach to a screen saver would be a small EXE that was able to detect the possibility (not the surety) that it was already running, and inhibit the launch of the real task, on thr grounds that the launcher had to safeguard against too many copies running.

    If nothing else, a simple text file, deleted during reboot and created with something as simple as a redirected ECHO ought to suffice. Presence of the file inhibits launching of the screen-save task, and successful completion of the screen-save task, or a reboot, deletes the file.

  7. #7
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: A report from MoonWatcher (VB/any)

    I run a product called Diskeeper, from http://www.execsoft.com, which is a defrag utility for Windows, including Windows NT/2000, handles NTFS drives as well as FAT, can be scheduled to execute at startup or at a certain time for each partition of my hard drive. It actually runs in the background even if I'm using my machine. I've been using it for years and have had only one HD failure in all that time, and that was on a drive that was new or nearly so. <img src=/S/shrug.gif border=0 alt=shrug width=39 height=15>

    Since it only handles files that are fragmented, frequent running means there is actually less moving files around and makes disk access faster, which should actually reduce wear on a disk. <img src=/S/yep.gif border=0 alt=yep width=15 height=15>
    Charlotte

  8. #8
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A report from MoonWatcher (VB/any)

    Ditto.
    I belong to that select band who run their PC's 24/7 and Diskeeper runs every night at around 1:00am.

  9. #9
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A report from MoonWatcher (VB/any)

    Hi Charlotte:
    Thanks for the information & the link. Do you know how Diskeeper compares to Norton's Speed Disk? I was thinking of getting that, but you & Leif seem to be happy with diskeeper.

  10. #10
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: A report from MoonWatcher (VB/any)

    I haven't used the Norton product, but there aren't too many products that will defrag an NTFS drive, which is why I picked Diskeeper originally. I would imagine that one site or the other would have a comparison between the products, but I haven't looked for one.
    Charlotte

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •