Another batch file question

  • Thread starter Thread starter Waldo
  • Start date Start date
W

Waldo

Hi, I made a batch file to open iTunes and it looks like this:

"C:\Program Files\iTunes\iTunes"
cls

The problem is that the Command Prompt window doesn't close until I close
iTunes itself. What can I do to modify it? Thanks for any help.
(I do need a batch file, not just a shortcut.)
 
"C:\Program Files\iTunes\iTunes"


Use the start command instead, assuming that iTunes is a Windows program. TYPE start /? at a dos prompt to view the many options available.
 
Thanks for the reply, but that's way over my head. I really need someone to
tell me exactly how to do this. Like I said, the program opens fine, (it
seems like a great program btw, but the command prompt window won't close on
it's own until the program itself is closed. Thanks again for any help.
Steve Shattuck said:
"C:\Program Files\iTunes\iTunes"
cls


Use the start command instead, assuming that iTunes is a Windows program.
TYPE start /? at a dos prompt to view the many options available.
 
Try this batchfile:

cd c:\program files\itunes
itunes.exe

This should automatically close the batch file after use.

Alan
 
Hi, thanks for the reply, but the same thing happens, the command prompt
window stays open. Thanks again for your time.
 
start itunes
cls


What is the purpose of a batch file. Just stick itunes in a shortcut.
 
Try this:

cd c:\program files\itunes
start itunes.exe
exit


The command window will flash open, then close, and a moment later you
should see iTunes.

Val

--
Bringing you BeadWizard Design Software
www.beadwizard.com
***************************
Practice safe eating -- always use condiments.
***************************


Hi, thanks for the reply, but the same thing happens, the command prompt
window stays open. Thanks again for your time.
 
Hi, thanks for the reply, that did the same thing but also left and extra
command prompt window on the desktop. Thanks anyway.
start itunes
cls


What is the purpose of a batch file. Just stick itunes in a shortcut.
 
Thank you very much, that did the trick. I really appreciate it, it was
becoming somewhat frustrating. Thanks to everyone who replied.
 
Make a shortcut to the batch file and set the batch file to minimize. That
should do it as long as you use the shortcut and not the batch file directly.

--
Regards,

Durand


| Hi, thanks for the reply, that did the same thing but also left and extra
| command prompt window on the desktop. Thanks anyway.
| | start itunes
| cls
|
|
| What is the purpose of a batch file. Just stick itunes in a shortcut.
| | > Thanks for the reply, but that's way over my head. I really need someone
| to
| > tell me exactly how to do this. Like I said, the program opens fine, (it
| > seems like a great program btw, but the command prompt window won't close
| on
| > it's own until the program itself is closed. Thanks again for any help.
| > | > > "C:\Program Files\iTunes\iTunes"
| > > cls
| >
| >
| > Use the start command instead, assuming that iTunes is a Windows program.
| > TYPE start /? at a dos prompt to view the many options available.
| >
| > --
| > .__
| > (__
| > ___)teve (e-mail address removed) www.steve.shattuck.net
| >
| >
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top