1.

Solve : removing ambiguity?

Answer»

Opening My Computer in WinXP-Pro/SP3 can result two POSSIBLE presentations : double-clicking My Computer tends to open it with the left pane being headed by System Tasks, whereas Win E tends to show the pane with Folders.
The steps of my macro to automate the launching of a checkdisk, requires there be no ambiguity. Is there a way of ensuring that Win E ALWAYS results in only the ONE (whichever) view being presented ? Quote from: Sebastian42 on June 08, 2011, 06:24:46 AM

Is there a way of ensuring that Win E ALWAYS results in only the ONE (whichever) view being presented ?

To disable the Tasks view in the Explorer Bar (left hand pane), open Explorer choose Tools, Folder Options, and in the General tab select the "Use Windows classic folders" radio button and then click OK.
I mentioned the purpose of my inquiry - to ensure a consistent response to the keystroke Win E in a macro.  The obvious change that resulted from your suggestion was that double-clicking My Computer no longer shows the Tasks view. Win E was already giving a different result than double-clicking, despite 'show tasks view' not being selected. I just want the result of Win E to be predictably reliable. Did you try what was suggested ? ?I did try what was suggested and found that WinE, which is the only thing I can use in a macro, remained unchanged; but double-clicking on My Computer PRODUCED a result showing Folders instead of Tasks. What I am asking for is a way to lock-in INVARIANCE for WinE. Don't be offencec by the question but what the Heck is WinE ? ?
Or do you mean Wine ? ? Quote from: patio on June 08, 2011, 08:09:13 PM
Don't be offencec by the question but what the Heck is WinE ? ?
Or do you mean Wine ? ?

Windows Key + E

Better question is why a macro needs to do this rather than simply launching chkdsk... Quote from: BC_Programmer on June 08, 2011, 09:52:23 PM
Better question is why a macro needs to do this rather than simply launching chkdsk...

I was wondering this. The default Explorer mode from Win + E is "explore" (left hand pane showing, set to folders) the location of My Computer. He appears to want this, but appears to be afraid this might change somehow.

Salmon Trout
Correct. I have had the macro fail because of changes in the presentation of the contents of My Computer. It is hard to pin down which changes. Maybe the Folders pane ALWAYS shows when WinE is 'pressed', but I am not sure - and that is why I posed the question. I do have the fear you mentioned. I do know that although only one optical drive is connected, sometimes there is an additional entry for CDrom, but not always; however DVDrom is ALWAYS there.

As for doing the process by macro, of course I can do it manually, but it takes some 10 or more 'repetitive' steps - repeated each time the procedure is done - and in principle computers are tops at doing repetitive work. I do a checkdisk every week, so why not automate it ? Quote from: Sebastian42 on June 09, 2011, 04:47:31 AM
As for doing the process by macro, of course I can do it manually, but it takes some 10 or more 'repetitive' steps - repeated each time the procedure is done - and in principle computers are tops at doing repetitive work. I do a checkdisk every week, so why not automate it ?

use Task Scheduler...Task Scheduling is an interesting suggestion that I should maybe look at. I THINK a macro gives more fexibility timewise. Quote from: Sebastian42 on June 09, 2011, 06:51:09 AM
Task Scheduling is an interesting suggestion that I should maybe look at. I THINK a macro gives more fexibility timewise.

Task scheduler can be used to schedule a task to run at a given time each week, each month, each day, every given number of days, every day of a given week, every day of a given month or year, every tuesday and THURSDAY, and so forth. I myself am using it to schedule a backup operation every day at 3 AM. Definitely worth looking into.One could write a batch or Visual Basic Script to run at startup which would, the first time it was run, perform a chkdisk and then write the date and/or time to a log file, and then each time it was subsequently run, check the log file to see how much time had elapsed, and if some trigger period had elapsed, run chkdisk again and write a new entry to the log file, but I agree that Task Scheduler is the way to go.

Quote from: Sebastian42 on June 09, 2011, 04:47:31 AM
Maybe the Folders pane ALWAYS shows when WinE is 'pressed', but I am not sure

So why are you attempting to perform this task by means of a "macro"? (What kind of macro?)



<>
The checkdisk from chkdsk.exe does not do 5 phases, so I want to trigger the one from Properties of the Hard Drive. That involves many keystrokes, which is not native to batchfiles.

<>
I would run the VBS from a batch file. The examples of VBS that I have seen, have not been consistent enough, for me to be able to deduce all the correct steps to achieve my aim.

<>
I do the checkdisk every week, and it involves some ten steps - that is a lot of repetition, which computers are ideally suited to automate.

<> I am using Macro Express [which ALSO has to be learnt - in fact, that crowd has kindly shown me a way out of my dilema while I have been persueing a different aspect here.]  I know other ways are possible, but each method takes almost a university DEGREE to master. Quote from: Sebastian42 on June 09, 2011, 06:38:00 PM
The checkdisk from chkdsk.exe does not do 5 phases
chkdsk with the /r switch does 5 phases.



Discussion

No Comment Found