Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #16 (permalink)  
Old 07-01-2009, 04:10 PM
Tim Meddick
Newsgroup Contributor
 
Posts: n/a
Re: Batch File Questions

I am talking about the TITLE command in cmd.exe not setting the 'title'
in a 'start' command.

It does work.

first line in a batch file :

@echo off
TITLE Tim's Command Prompt
echo.
echo The rest of your batch-stuff...
echo.
pause

I use it ALL THE TIME....

==

Cheers, Tim Meddick, Peckham, London. :-)




"Terry R." <F1Com@NOSPAMpobox.com> wrote in message
news:eor$JRl%23JHA.4900@TK2MSFTNGP02.phx.gbl...
> The date and time was Tuesday, June 30, 2009 7:54:31 PM, and on a
> whim, pounded out on the keyboard:
>
>> Tim's example wom't work. You'll see in my post I use a blank title.
>>

>
> Yes, I've learned from experience... ;-)
>
>
> Terry R.
> --
> Anti-spam measures are included in my email address.
> Delete NOSPAM from the email address after clicking Reply.



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

 
Old 07-01-2009, 04:10 PM
  #17 (permalink)  
Old 07-01-2009, 04:40 PM
Newsgroup Contributor
 
Posts: n/a
Re: Batch File Questions

But your Start command doesn't work.

--
..
--
"Tim Meddick" <timmeddick@gawab.com> wrote in message
news:%23iURQAq%23JHA.5068@TK2MSFTNGP03.phx.gbl...
>I am talking about the TITLE command in cmd.exe not setting the 'title' in
>a 'start' command.
>
> It does work.
>
> first line in a batch file :
>
> @echo off
> TITLE Tim's Command Prompt
> echo.
> echo The rest of your batch-stuff...
> echo.
> pause
>
> I use it ALL THE TIME....
>
> ==
>
> Cheers, Tim Meddick, Peckham, London. :-)
>
>
>
>
> "Terry R." <F1Com@NOSPAMpobox.com> wrote in message
> news:eor$JRl%23JHA.4900@TK2MSFTNGP02.phx.gbl...
>> The date and time was Tuesday, June 30, 2009 7:54:31 PM, and on a whim,
>> pounded out on the keyboard:
>>
>>> Tim's example wom't work. You'll see in my post I use a blank title.
>>>

>>
>> Yes, I've learned from experience... ;-)
>>
>>
>> Terry R.
>> --
>> Anti-spam measures are included in my email address.
>> Delete NOSPAM from the email address after clicking Reply.

>
>


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

  #18 (permalink)  
Old 07-01-2009, 05:10 PM
Tim Meddick
Newsgroup Contributor
 
Posts: n/a
Re: Batch File Questions

Which "your start command doesn't work" ?

The one I quoted :

@echo off
title My Program
start /w /b "C:\Program Files\My Application\My Program" /parameters

???

I'm not surprised - the folder and program names are fictional and were
copied from the OP's

....then by only changing the names to valid ones thus :

I have just spotted something - very sorry - I put the '/w' and 'b'
switches the wrong way round.

@echo off
title My Notepad Program
start /b /w C:\WINDOWS\system32\notepad.exe
pause

....*will* work.

(I added the 'pause' so you can see that it really is waiting for the
Notepad program to exit...)

==

Cheers, Tim Meddick, Peckham, London. :-)




<.> wrote in message news:esGzuPq%23JHA.3612@TK2MSFTNGP04.phx.gbl...
> But your Start command doesn't work.
>
> --
> .
> --
> "Tim Meddick" <timmeddick@gawab.com> wrote in message
> news:%23iURQAq%23JHA.5068@TK2MSFTNGP03.phx.gbl...
>>I am talking about the TITLE command in cmd.exe not setting the
>>'title' in a 'start' command.
>>
>> It does work.
>>
>> first line in a batch file :
>>
>> @echo off
>> TITLE Tim's Command Prompt
>> echo.
>> echo The rest of your batch-stuff...
>> echo.
>> pause
>>
>> I use it ALL THE TIME....
>>
>> ==
>>
>> Cheers, Tim Meddick, Peckham, London. :-)
>>
>>
>>
>>
>> "Terry R." <F1Com@NOSPAMpobox.com> wrote in message
>> news:eor$JRl%23JHA.4900@TK2MSFTNGP02.phx.gbl...
>>> The date and time was Tuesday, June 30, 2009 7:54:31 PM, and on a
>>> whim, pounded out on the keyboard:
>>>
>>>> Tim's example wom't work. You'll see in my post I use a blank
>>>> title.
>>>>
>>>
>>> Yes, I've learned from experience... ;-)
>>>
>>>
>>> Terry R.
>>> --
>>> Anti-spam measures are included in my email address.
>>> Delete NOSPAM from the email address after clicking Reply.

>>
>>

>



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

  #19 (permalink)  
Old 07-01-2009, 05:20 PM
Newsgroup Contributor
 
Posts: n/a
Re: Batch File Questions

Do you read anything?

Your command is faulty because the first set of inverted commas (quotes) is
taken as the title. Therefore there is no program to execute.

--
..
--
"Tim Meddick" <timmeddick@gawab.com> wrote in message
news:%23QW5lkq%23JHA.1336@TK2MSFTNGP05.phx.gbl...
> Which "your start command doesn't work" ?
>
> The one I quoted :
>
> @echo off
> title My Program
> start /w /b "C:\Program Files\My Application\My Program" /parameters
>
> ???
>
> I'm not surprised - the folder and program names are fictional and were
> copied from the OP's
>
> ...then by only changing the names to valid ones thus :
>
> I have just spotted something - very sorry - I put the '/w' and 'b'
> switches the wrong way round.
>
> @echo off
> title My Notepad Program
> start /b /w C:\WINDOWS\system32\notepad.exe
> pause
>
> ...*will* work.
>
> (I added the 'pause' so you can see that it really is waiting for the
> Notepad program to exit...)
>
> ==
>
> Cheers, Tim Meddick, Peckham, London. :-)
>
>
>
>
> <.> wrote in message news:esGzuPq%23JHA.3612@TK2MSFTNGP04.phx.gbl...
>> But your Start command doesn't work.
>>
>> --
>> .
>> --
>> "Tim Meddick" <timmeddick@gawab.com> wrote in message
>> news:%23iURQAq%23JHA.5068@TK2MSFTNGP03.phx.gbl...
>>>I am talking about the TITLE command in cmd.exe not setting the 'title'
>>>in a 'start' command.
>>>
>>> It does work.
>>>
>>> first line in a batch file :
>>>
>>> @echo off
>>> TITLE Tim's Command Prompt
>>> echo.
>>> echo The rest of your batch-stuff...
>>> echo.
>>> pause
>>>
>>> I use it ALL THE TIME....
>>>
>>> ==
>>>
>>> Cheers, Tim Meddick, Peckham, London. :-)
>>>
>>>
>>>
>>>
>>> "Terry R." <F1Com@NOSPAMpobox.com> wrote in message
>>> news:eor$JRl%23JHA.4900@TK2MSFTNGP02.phx.gbl...
>>>> The date and time was Tuesday, June 30, 2009 7:54:31 PM, and on a whim,
>>>> pounded out on the keyboard:
>>>>
>>>>> Tim's example wom't work. You'll see in my post I use a blank title.
>>>>>
>>>>
>>>> Yes, I've learned from experience... ;-)
>>>>
>>>>
>>>> Terry R.
>>>> --
>>>> Anti-spam measures are included in my email address.
>>>> Delete NOSPAM from the email address after clicking Reply.
>>>
>>>

>>

>
>


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

  #20 (permalink)  
Old 07-01-2009, 05:50 PM
Tim Meddick
Newsgroup Contributor
 
Posts: n/a
Re: Batch File Questions

I understand what you mean now, and yes you are totally correct about
the quotes.

(However, I was trying to convey the use of the title command after all)

I personally have never had need to use quotes as I have always used the
DOS~ short names for the target of the start command.

Also, I never used the "title" in a start command either as I have
always used the TITLE command separately.

I am sorry for any confusion I may have caused...

==

Cheers, Tim Meddick, Peckham, London. :-)




<.> wrote in message news:uDYpbpq%23JHA.5040@TK2MSFTNGP04.phx.gbl...
> Do you read anything?
>
> Your command is faulty because the first set of inverted commas
> (quotes) is taken as the title. Therefore there is no program to
> execute.
>
> --
> .
> --
> "Tim Meddick" <timmeddick@gawab.com> wrote in message
> news:%23QW5lkq%23JHA.1336@TK2MSFTNGP05.phx.gbl...
>> Which "your start command doesn't work" ?
>>
>> The one I quoted :
>>
>> @echo off
>> title My Program
>> start /w /b "C:\Program Files\My Application\My Program" /parameters
>>
>> ???
>>
>> I'm not surprised - the folder and program names are fictional and
>> were copied from the OP's
>>
>> ...then by only changing the names to valid ones thus :
>>
>> I have just spotted something - very sorry - I put the '/w' and 'b'
>> switches the wrong way round.
>>
>> @echo off
>> title My Notepad Program
>> start /b /w C:\WINDOWS\system32\notepad.exe
>> pause
>>
>> ...*will* work.
>>
>> (I added the 'pause' so you can see that it really is waiting for the
>> Notepad program to exit...)
>>
>> ==
>>
>> Cheers, Tim Meddick, Peckham, London. :-)
>>
>>
>>
>>
>> <.> wrote in message news:esGzuPq%23JHA.3612@TK2MSFTNGP04.phx.gbl...
>>> But your Start command doesn't work.
>>>
>>> --
>>> .
>>> --
>>> "Tim Meddick" <timmeddick@gawab.com> wrote in message
>>> news:%23iURQAq%23JHA.5068@TK2MSFTNGP03.phx.gbl...
>>>>I am talking about the TITLE command in cmd.exe not setting the
>>>>'title' in a 'start' command.
>>>>
>>>> It does work.
>>>>
>>>> first line in a batch file :
>>>>
>>>> @echo off
>>>> TITLE Tim's Command Prompt
>>>> echo.
>>>> echo The rest of your batch-stuff...
>>>> echo.
>>>> pause
>>>>
>>>> I use it ALL THE TIME....
>>>>
>>>> ==
>>>>
>>>> Cheers, Tim Meddick, Peckham, London. :-)
>>>>
>>>>
>>>>
>>>>
>>>> "Terry R." <F1Com@NOSPAMpobox.com> wrote in message
>>>> news:eor$JRl%23JHA.4900@TK2MSFTNGP02.phx.gbl...
>>>>> The date and time was Tuesday, June 30, 2009 7:54:31 PM, and on a
>>>>> whim, pounded out on the keyboard:
>>>>>
>>>>>> Tim's example wom't work. You'll see in my post I use a blank
>>>>>> title.
>>>>>>
>>>>>
>>>>> Yes, I've learned from experience... ;-)
>>>>>
>>>>>
>>>>> Terry R.
>>>>> --
>>>>> Anti-spam measures are included in my email address.
>>>>> Delete NOSPAM from the email address after clicking Reply.
>>>>
>>>>
>>>

>>
>>

>



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

  #21 (permalink)  
Old 07-01-2009, 06:00 PM
Newsgroup Contributor
 
Posts: n/a
Re: Batch File Questions

Start as that tricky cxommand line parsing which 9.x version didn't.

--
..
--
"Tim Meddick" <timmeddick@gawab.com> wrote in message
news:O68aH3q%23JHA.4692@TK2MSFTNGP02.phx.gbl...
>I understand what you mean now, and yes you are totally correct about the
>quotes.
>
> (However, I was trying to convey the use of the title command after all)
>
> I personally have never had need to use quotes as I have always used the
> DOS~ short names for the target of the start command.
>
> Also, I never used the "title" in a start command either as I have always
> used the TITLE command separately.
>
> I am sorry for any confusion I may have caused...
>
> ==
>
> Cheers, Tim Meddick, Peckham, London. :-)
>
>
>
>
> <.> wrote in message news:uDYpbpq%23JHA.5040@TK2MSFTNGP04.phx.gbl...
>> Do you read anything?
>>
>> Your command is faulty because the first set of inverted commas (quotes)
>> is taken as the title. Therefore there is no program to execute.
>>
>> --
>> .
>> --
>> "Tim Meddick" <timmeddick@gawab.com> wrote in message
>> news:%23QW5lkq%23JHA.1336@TK2MSFTNGP05.phx.gbl...
>>> Which "your start command doesn't work" ?
>>>
>>> The one I quoted :
>>>
>>> @echo off
>>> title My Program
>>> start /w /b "C:\Program Files\My Application\My Program" /parameters
>>>
>>> ???
>>>
>>> I'm not surprised - the folder and program names are fictional and were
>>> copied from the OP's
>>>
>>> ...then by only changing the names to valid ones thus :
>>>
>>> I have just spotted something - very sorry - I put the '/w' and 'b'
>>> switches the wrong way round.
>>>
>>> @echo off
>>> title My Notepad Program
>>> start /b /w C:\WINDOWS\system32\notepad.exe
>>> pause
>>>
>>> ...*will* work.
>>>
>>> (I added the 'pause' so you can see that it really is waiting for the
>>> Notepad program to exit...)
>>>
>>> ==
>>>
>>> Cheers, Tim Meddick, Peckham, London. :-)
>>>
>>>
>>>
>>>
>>> <.> wrote in message news:esGzuPq%23JHA.3612@TK2MSFTNGP04.phx.gbl...
>>>> But your Start command doesn't work.
>>>>
>>>> --
>>>> .
>>>> --
>>>> "Tim Meddick" <timmeddick@gawab.com> wrote in message
>>>> news:%23iURQAq%23JHA.5068@TK2MSFTNGP03.phx.gbl...
>>>>>I am talking about the TITLE command in cmd.exe not setting the 'title'
>>>>>in a 'start' command.
>>>>>
>>>>> It does work.
>>>>>
>>>>> first line in a batch file :
>>>>>
>>>>> @echo off
>>>>> TITLE Tim's Command Prompt
>>>>> echo.
>>>>> echo The rest of your batch-stuff...
>>>>> echo.
>>>>> pause
>>>>>
>>>>> I use it ALL THE TIME....
>>>>>
>>>>> ==
>>>>>
>>>>> Cheers, Tim Meddick, Peckham, London. :-)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> "Terry R." <F1Com@NOSPAMpobox.com> wrote in message
>>>>> news:eor$JRl%23JHA.4900@TK2MSFTNGP02.phx.gbl...
>>>>>> The date and time was Tuesday, June 30, 2009 7:54:31 PM, and on a
>>>>>> whim, pounded out on the keyboard:
>>>>>>
>>>>>>> Tim's example wom't work. You'll see in my post I use a blank title.
>>>>>>>
>>>>>>
>>>>>> Yes, I've learned from experience... ;-)
>>>>>>
>>>>>>
>>>>>> Terry R.
>>>>>> --
>>>>>> Anti-spam measures are included in my email address.
>>>>>> Delete NOSPAM from the email address after clicking Reply.
>>>>>
>>>>>
>>>>
>>>
>>>

>>

>
>


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

  #22 (permalink)  
Old 07-01-2009, 10:00 PM
Terry R.
Newsgroup Contributor
 
Posts: n/a
Re: Batch File Questions

The date and time was Wednesday, July 01, 2009 4:02:37 PM, and on a
whim, Tim Meddick pounded out on the keyboard:

> I am talking about the TITLE command in cmd.exe not setting the 'title'
> in a 'start' command.
>
> It does work.
>
> first line in a batch file :
>
> @echo off
> TITLE Tim's Command Prompt
> echo.
> echo The rest of your batch-stuff...
> echo.
> pause
>
> I use it ALL THE TIME....
>
> ==
>
> Cheers, Tim Meddick, Peckham, London. :-)
>
>
>
>
> "Terry R." <F1Com@NOSPAMpobox.com> wrote in message
> news:eor$JRl%23JHA.4900@TK2MSFTNGP02.phx.gbl...
>> The date and time was Tuesday, June 30, 2009 7:54:31 PM, and on a
>> whim, pounded out on the keyboard:
>>
>>> Tim's example wom't work. You'll see in my post I use a blank title.
>>>

>> Yes, I've learned from experience... ;-)
>>
>>
>> Terry R.

>
>


We're not. Specifically we're talking about the start command line you
provided. Don't care about the "TITLE".


Terry R.
--
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #23 (permalink)  
Old 07-02-2009, 04:30 PM
Tim Meddick
Newsgroup Contributor
 
Posts: n/a
Re: Batch File Questions

Nevertheless, the only reason for my second reply (see the third post by
the OP) to this thread, *was* the title command.

I was merely attempting to let the OP know of the existence of the TITLE
command in preference to adding it in with the 'start' command...

==

Cheers, Tim Meddick, Peckham, London. :-)




"Terry R." <F1Com@NOSPAMpobox.com> wrote in message
news:OrtQiFt%23JHA.2824@TK2MSFTNGP03.phx.gbl...
> The date and time was Wednesday, July 01, 2009 4:02:37 PM, and on a
> whim, Tim Meddick pounded out on the keyboard:
>
>> I am talking about the TITLE command in cmd.exe not setting the
>> 'title' in a 'start' command.
>>
>> It does work.
>>
>> first line in a batch file :
>>
>> @echo off
>> TITLE Tim's Command Prompt
>> echo.
>> echo The rest of your batch-stuff...
>> echo.
>> pause
>>
>> I use it ALL THE TIME....
>>
>> ==
>>
>> Cheers, Tim Meddick, Peckham, London. :-)
>>
>>
>>
>>
>> "Terry R." <F1Com@NOSPAMpobox.com> wrote in message
>> news:eor$JRl%23JHA.4900@TK2MSFTNGP02.phx.gbl...
>>> The date and time was Tuesday, June 30, 2009 7:54:31 PM, and on a
>>> whim, pounded out on the keyboard:
>>>
>>>> Tim's example wom't work. You'll see in my post I use a blank
>>>> title.
>>>>
>>> Yes, I've learned from experience... ;-)
>>>
>>>
>>> Terry R.

>>
>>

>
> We're not. Specifically we're talking about the start command line
> you provided. Don't care about the "TITLE".
>
>
> Terry R.
> --
> Anti-spam measures are included in my email address.
> Delete NOSPAM from the email address after clicking Reply.



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

Reply

Bookmarks

Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Batch file to rename file based on file size Brandon Windows XP 14 10-17-2008 01:45 AM
calling multiple batch files from within a batch file yawnmoth Windows XP 3 05-26-2008 10:50 AM
Batch file works in command line but not as a batch Danger Windows XP 7 02-05-2008 09:00 AM
Save batch window msgs to a file from the batch prog Stephen Rainey Windows XP 3 01-09-2007 06:15 PM
how to execute batch file automatically when file is added in folder SANDY Windows XP 4 01-04-2007 03:48 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 10:34 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0