Computing.Net > Forums > Disk Operating System > Stopping a program from a BAT file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Stopping a program from a BAT file

Reply to Message Icon

Name: ddrafts
Date: February 4, 2004 at 11:38:58 Pacific
OS: XP
CPU/Ram: P4, 1 gig
Comment:

I am trying to set some PowerPoint slides to work with pptview.exe for different days. Just Friday, Saturday, and Sunday.

We are going to start using Monitors in our club to project the slides instead of Printing them. (It cost to much)

The bat file is

@pptview.exe /L "Friday.txt"

But when I schedule it. It runs with no problem. Then on Saturday it runs Saturdays with no problem but the Friday one is still running in the background then I cannot copy the new Friday.PPT to the directory.

I need to find a way to add something to the BAT file that will stop the pptview.exe for Friday from running before the Saturday one starts. I tried to use the Kill command but that didn't work.

Thanks in advance.

Doug




Sponsored Link
Ads by Google

Response Number 1
Name: Wengier
Date: February 4, 2004 at 12:48:20 Pacific
Reply:

Hi Doug, you are asking a Windows XP batch + schedule question, but this is DOS forum. So you have asked your question in a *wrong* forum. Please note that Windows XP does not include "DOS". The "Command Prompt" in WinXP is just the WinNT/2K/XP system console, which is NOT DOS. Below is the *quotation* from the warning messages of this forum:

"DO NOT post questions related to NT Batch scripting on this forum. Use the Programming forum.

Use the Windows NT, 2000 or XP forum for questions regarding the Windows NT, 2000 or XP "DOS" command prompt."

For more information about the "Command Prompt" (Win32 Console) in WinNT/2K/XP, you may read this page:

http://mywebpages.comcast.net/stewartb/cmdprompt.html

Some simple questions about WinNT/2K/XP "Command Prompt" commands that are similar to DOS commands may be OK here, however your question (WinXP Batch + Schedule) is too far away from DOS. Try Windows XP Forum or Programming Forum, as the warning messages of this forum say.


0

Response Number 2
Name: ddrafts
Date: February 4, 2004 at 13:08:08 Pacific
Reply:

SORRY,

I just thought that someone in here could help me. I have been looking for two weeks for an answer. And no one what to help with this.

Thanks anyway
Doug


0

Response Number 3
Name: Jemuzu
Date: February 4, 2004 at 13:09:19 Pacific
Reply:

yay for the many posts we're getting, boo for the fact that people think it has something to do with dos! you CAN make batch files under windows, you know. so it isn't even dos then!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Stopping a program from a BAT file

How to Make a .bat file 2 run programs on usb www.computing.net/answers/dos/how-to-make-a-bat-file-2-run-programs-on-usb/16975.html

Making a .bat file to get input NT www.computing.net/answers/dos/making-a-bat-file-to-get-input-nt/12892.html

I want to make a bat file www.computing.net/answers/dos/i-want-to-make-a-bat-file/2601.html