IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> BAT file for closing / restarting Windows 7 with additional pre-task, Shortcut for waking up hard drive and system closure at the same time
Zerow
post Nov 20 2017, 21:50
Post #1


Member


Group: Full Members
Posts: 703
Joined: 31-January 15
From: East of Eurolandia
Member No.: 20375
Mp3tag Version: 2.86



I have this problem: I tell my Windows 7 x64 to shut down or restart using the buttons in the Start Menu- and it does it. But first it does of course a bunch of things that take time [which are things that I did not implemented, just the default system behavior]; and apparently only after them it accesses all of the hard drives for check up or something. And as I have my archive drive set to turn off after 5 minutes of idle work, my reboot time is most of the time far much longer than it should- I can hear the HDD starting to spin, just so that Windows can finish the closing procedure. And if I want to avoid this I need to access my archive drive and go into some sub-folder that was in a folder I have accessed during my workflow [so that something new is opened and the drive has to wake up to execute this access from the drive itself and not from the RAM]

[And the reason I turn of the archive HDD is elimination of noise, some heat reduction, prevention of hardware wear and data corruptions, reduction of power consumption]

So does anyone know how to write a BAT file that would start at the same time execution of waking up of drive X and the rebooting of the system; and the alternative version that would start waking up drive X and also start turning off the whole computer, not waiting for the drive to start spinning with the full speed?


Apparently nobody in Microsoft had the foresight to imagine, that someone can have a turned off drive, that should be accessed at the beginning of the system closure and not at the end of it; despite the fact, that there is an option in Windows for turning off all of the idle drives. But come to think of it, it all makes typical Microsoft non-sense; because Windows allows for turning on that option only for all of the drives at once or for none at all [and so I have to use a third party software that turns off only that archive drive]
Go to the top of the page
 
+Quote Post
ohrenkino
post Dec 4 2017, 19:58
Post #2


Member


Group: Full Members
Posts: 9307
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.85d



ZITAT(Zerow @ Nov 20 2017, 21:50) *
...
So does anyone know how to write a BAT file that would start at the same time execution of waking up of drive X and the rebooting of the system; and the alternative version that would start waking up drive X and also start turning off the whole computer, not waiting for the drive to start spinning with the full speed?
...

You could write a plain text file with the commands to change to a particular drive and show the files on it
like
QUELLTEXT
c:
dir
d:
dir
e:
dir
shutdown -s -f

the shutdown command has the switches to shutdown the local pc and force the closing of all applications.

Edit: unless you already know this, I would like to bring your attention the problem of machines that could in a way anticipate the actions of the humans. This excerpt is from "The Hitchhiker's Guide to the Galaxy" by Douglas Adams:

" SIRIUS CYBERNETICS CORPORATION

Elevators: Modern elevators are strange and complex entities. The ancient electric winch and "maximum-capacity-eight-persons" jobs bear as much relation to a Sirius Cybernetics Corporation Happy Vertical People Transporter as a packet of mixed nuts does to the entire west wing of the Sirian State Mental Hospital.

This is because they operate on the curious principle of "defocused temporal perception." In other words they have the capacity to see dimly into the immediate future, which enables the elevator to be on the right floor to pick you up even before you knew you wanted it, thus eliminating all the tedious chatting, relaxing and making friends that people were previously forced to do while waiting for elevators.

Not unnaturally, many elevators imbued with intelligence and precognition became terribly frustrated with the mindless business of going up and down, up and down, experimented briefly with the notion of going sideways, as a sort of existential protest demanded participation in the decision-making process and finally took to squatting in basements sulking.

An impoverished hitchhiker visiting any planets in the Sirius star system these days can pick up easy money working as a counselor for neurotic elevators."

Wouldn't it be an absolute shame to have a sulking computer only because it should have had the foresight to start the harddisk earlier?
No, this was no serious question. I hope you enjoyed the text.

This post has been edited by ohrenkino: Dec 9 2017, 19:42


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 11th December 2017 - 14:15