Windows XP Community - XPHeads



Running programs at ShutDown

microsoft.public.windowsxp.configuration_manage


Reply
  #1 (permalink)  
Old 06-11-2008, 12:29 PM
Peter Hallett
 
Posts: n/a
Running programs at ShutDown
I would like to run one or more programs, such as Disk Defragmenter,
automatically at shut down. Could someone please tell me how to do this?
--
Peter Hallett
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-11-2008, 10:40 PM
DL
 
Posts: n/a
Re: Running programs at ShutDown
You would probably create a batch file/script to run the apps & when
completed instigate a shutdown.
If however you are shuting down daily, then runing defrag on a daily basis
is IMO not going to achieve much

"Peter Hallett" <PeterHallett@discussions.microsoft.com> wrote in message
news:83A73F4F-A2B6-40C1-B686-4BAF9FB82FEA@microsoft.com...
>I would like to run one or more programs, such as Disk Defragmenter,
> automatically at shut down. Could someone please tell me how to do this?
> --
> Peter Hallett



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-12-2008, 08:14 AM
Peter Hallett
 
Posts: n/a
Re: Running programs at ShutDown
Thanks for your advice. On reflection, I think you are right. I was hoping
that there was an easy way of running programs on shut-down - not just
Defrag, which, as you say, might be a bit of overkill, but it now seems
apparent that it is almost as simple to run whatever you need to manually
before shutting down. Maybe one of the freebee schedulers would do the job.
In the mean time, thanks for clarifying the issue. Running programs at
shut-down is clearly not as easy as sticking them in a shut-down equivalent
of the start-up menu.
--
Peter Hallett


"DL" wrote:

> You would probably create a batch file/script to run the apps & when
> completed instigate a shutdown.
> If however you are shuting down daily, then runing defrag on a daily basis
> is IMO not going to achieve much
>
> "Peter Hallett" <PeterHallett@discussions.microsoft.com> wrote in message
> news:83A73F4F-A2B6-40C1-B686-4BAF9FB82FEA@microsoft.com...
> >I would like to run one or more programs, such as Disk Defragmenter,
> > automatically at shut down. Could someone please tell me how to do this?
> > --
> > Peter Hallett

>
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-12-2008, 09:40 AM
Klaus Jorgensen
 
Posts: n/a
Re: Running programs at ShutDown
Peter Hallett wrote:
> I would like to run one or more programs, such as Disk Defragmenter,
> automatically at shut down. Could someone please tell me how to do this?


You can define a script that runs during the logoff process and/or
during the shut down process:
http://techsupt.winbatch.com/ts/T000001048F90.html


/klaus


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-12-2008, 01:06 PM
Peter Hallett
 
Posts: n/a
Re: Running programs at ShutDown
Thanks for your suggestion. I have followed your link but am unfamiliar with
scripting and currently find myself confused. I clearly have quite a bit of
reading to do before I can attempt to write a shut-down module. If
Microsoft's document cross referencing were a bit more accurate it might be a
quicker job but I have spent the last hour or so trying to follow references
that do not exist, or do so under another name, on another page or in another
document. I have, however, picked up on the reference to VB as a viable
scripting language, particularly because I am very familiar with VBA. I
wonder whether that might prove the most effective way forward in my case?
--
Peter Hallett


"Peter Hallett" wrote:

> Thanks for your advice. On reflection, I think you are right. I was hoping
> that there was an easy way of running programs on shut-down - not just
> Defrag, which, as you say, might be a bit of overkill, but it now seems
> apparent that it is almost as simple to run whatever you need to manually
> before shutting down. Maybe one of the freebee schedulers would do the job.
> In the mean time, thanks for clarifying the issue. Running programs at
> shut-down is clearly not as easy as sticking them in a shut-down equivalent
> of the start-up menu.
> --
> Peter Hallett
>
>
> "DL" wrote:
>
> > You would probably create a batch file/script to run the apps & when
> > completed instigate a shutdown.
> > If however you are shuting down daily, then runing defrag on a daily basis
> > is IMO not going to achieve much
> >
> > "Peter Hallett" <PeterHallett@discussions.microsoft.com> wrote in message
> > news:83A73F4F-A2B6-40C1-B686-4BAF9FB82FEA@microsoft.com...
> > >I would like to run one or more programs, such as Disk Defragmenter,
> > > automatically at shut down. Could someone please tell me how to do this?
> > > --
> > > Peter Hallett

> >
> >
> >

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:00 AM.








Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74