Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > How to stop a running file
Word :    Username :           
 

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.

Don J

-------------------------------------------------------------------------------

Sponsored Links
Register or log in to remove.

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
>
> -------------------------------------------------------------------------------
>
>

Reply to Anonymous

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
> >
> > -------------------------------------------------------------------------------
> >
> >
>

Reply to Anonymous

Archived from groups: microsoft.public.windowsxp.newusers (More info?)

 

Anyone can copy locked files. See http://blogs.msdn.com/adioltean/ar [...] x#comments

and download a 25 mb file for 1 small file from
http://www.microsoft.com/downloads [...] laylang=en

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
>> >
>> > -------------------------------------------------------------------------------
>> >
>> >
>>

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > How to stop a running file
Go to:

There are 1272 identified and unidentified users. To see the list of identified users, Click here.

Please mind

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.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them