Archived from groups: microsoft.public.windowsxp.newusers (More info?)
How do you stop a running file from within a batch program? Actually what I
want to do is to stop a running program and make a copy its data files that
it ordinarily won't let go of! And I want to do all this and then exit from
Windows XP all from within a batch file.
Archived from groups: microsoft.public.windowsxp.newusers (More info?)
Use TASKKILL. TASKKILL /? will get you the command line options.
--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com --------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/x [...] onsole.htm --------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.
"Don J" <dej8800@comcast.net> wrote in message news:fK2dnTT-CpBiE1HfRVn-pw@comcast.com...
> How do you stop a running file from within a batch program? Actually what I
> want to do is to stop a running program and make a copy its data files that
> it ordinarily won't let go of! And I want to do all this and then exit from
> Windows XP all from within a batch file.
>
> Don J
>
> -------------------------------------------------------------------------------
>
>
Archived from groups: microsoft.public.windowsxp.newusers (More info?)
Be careful using the Taskkill.exe command - some programs object to it's
ability to force a program to close. Check the documentation first.
Also, the paid version of SyncBackSE says that it can copy locked files.
Good luck!
"Doug Knox MS-MVP" wrote:
> Use TASKKILL. TASKKILL /? will get you the command line options.
>
> --
> Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
> Win 95/98/Me/XP Tweaks and Fixes
> http://www.dougknox.com > --------------------------------
> Per user Group Policy Restrictions for XP Home and XP Pro
> http://www.dougknox.com/xp/utils/x [...] onsole.htm > --------------------------------
> Please reply only to the newsgroup so all may benefit.
> Unsolicited e-mail is not answered.
>
> "Don J" <dej8800@comcast.net> wrote in message news:fK2dnTT-CpBiE1HfRVn-pw@comcast.com...
> > How do you stop a running file from within a batch program? Actually what I
> > want to do is to stop a running program and make a copy its data files that
> > it ordinarily won't let go of! And I want to do all this and then exit from
> > Windows XP all from within a batch file.
> >
> > Don J
> >
> > -------------------------------------------------------------------------------
> >
> >
>
No need to kill the program and risk damaging the file.
--
--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archive [...] 01075.html =================================================
"usasma" <usasma@discussions.microsoft.com> wrote in message news:448BCE49-4E5E-4625-9371-CC1BF98A1501@microsoft.com...
> Be careful using the Taskkill.exe command - some programs object to it's
> ability to force a program to close. Check the documentation first.
>
> Also, the paid version of SyncBackSE says that it can copy locked files.
>
> Good luck!
>
> "Doug Knox MS-MVP" wrote:
>
>> Use TASKKILL. TASKKILL /? will get you the command line options.
>>
>> --
>> Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
>> Win 95/98/Me/XP Tweaks and Fixes
>> http://www.dougknox.com >> --------------------------------
>> Per user Group Policy Restrictions for XP Home and XP Pro
>> http://www.dougknox.com/xp/utils/x [...] onsole.htm >> --------------------------------
>> Please reply only to the newsgroup so all may benefit.
>> Unsolicited e-mail is not answered.
>>
>> "Don J" <dej8800@comcast.net> wrote in message news:fK2dnTT-CpBiE1HfRVn-pw@comcast.com...
>> > How do you stop a running file from within a batch program? Actually what I
>> > want to do is to stop a running program and make a copy its data files that
>> > it ordinarily won't let go of! And I want to do all this and then exit from
>> > Windows XP all from within a batch file.
>> >
>> > Don J
>> >
>> > -------------------------------------------------------------------------------
>> >
>> >
>>
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.