Re: Execute command ON EXIT

2001-01-05 Thread Kari Jakobi

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hello Andrey,

On Fri, 5 Jan 2001, 05:13:41 h [GMT +0300] (which
was 03:13 h [GMT +0100] where I live) you wrote:

AGSAA If you want to hide the icon and window completely
AGSAA you'll need an utility like HideWindow -
[...]

I will have a look at it. Thank you for the tip!

- -- 
Best regards,
Kari Jakobi

The Bat! 1.49 Beta/1 on Windows NT 5.0 Build 2195

To obtain my PGP-Key send a message to:
  mailto:[EMAIL PROTECTED]?subject=PGP-KEY_REQUEST
PGP-KEY ID: 0x388CEBFF


-BEGIN PGP SIGNATURE-
Version: PGP 7.0
Comment: Quis custodiet ipsos custodes?

iQA/AwUBOlWwCwdigFw4jOv/EQKBCACgrjHpVSdmhZFc1oHzanh6RozCNRkAoKLz
49wOL5RjWuAbUe0NUqhfIwa6
=Mzqe
-END PGP SIGNATURE-

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: Execute command ON EXIT

2001-01-05 Thread Kari Jakobi

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hello Andrey,

On Fri, 5 Jan 2001, 05:13:41 h [GMT +0300] (which
was 03:13 h [GMT +0100] where I live) you wrote:

AGSAA If you want to hide the icon and window completely
AGSAA you'll need an utility like HideWindow -
AGSAA http://www.winsite.com/info/pc/win95/desktop/hidewndw.zip/downl.html.

Man, this was a great tip! I appreciate your help very much.
This little proggy is exactly what I have been looking for.
:-)
And it's freeware also. Very useful.
- -- 
Best regards,
Kari Jakobi

The Bat! 1.49 Beta/1 on Windows NT 5.0 Build 2195

To obtain my PGP-Key send a message to:
  mailto:[EMAIL PROTECTED]?subject=PGP-KEY_REQUEST
PGP-KEY ID: 0x388CEBFF


-BEGIN PGP SIGNATURE-
Version: PGP 7.0
Comment: Quis custodiet ipsos custodes?

iQA/AwUBOlXA+gdigFw4jOv/EQLChACfSLoVxdsyDidMK27c1DxzoDBn39UAnijk
bPU74kport3NSdqnIcKDjZkG
=cclw
-END PGP SIGNATURE-

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: Execute command ON EXIT

2001-01-05 Thread Ming-Li

On Thursday, January 04, 2001, 10:28:10 AM, Kari wrote:

 This is the other way round. I call up the backup batch file which
 closes TB. Nice, but not what I was looking for. I will get back
 to this one if Thomas way won't work.

That should work, as you've found out. The only "drawback" of that
approach is an DOS instance (window) for the batch would stay there
the whole time TB is active. It's no big deal, just something I
always try to avoid.

 It's been quite a while... Welcome back.

Thanks. It's been a busy holiday. It happens when you live in a
major tour area and major gateway into the U.S. (from your home
country, no less).

-- 
Best regards,
Ming-Li

The Bat! 1.49 Beta/2 | Win2k SP1

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: Execute command ON EXIT

2001-01-05 Thread Kari Jakobi

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hello Ming-Li,

On Fri, 5 Jan 2001, 06:55:07 h [GMT -0800] (which
was 15:55 h [GMT +0100] where I live) you wrote:

ML That should work, as you've found out. The only
ML "drawback" of that approach is an DOS instance (window)
ML for the batch would stay there the whole time TB is
ML active. It's no big deal, just something I always try to
ML avoid.

I posted a solution and a complete How-To just five minutes
ago. Thank you for your effort.

- -- 
Best regards,
Kari Jakobi

The Bat! 1.49 Beta/1 on Windows NT 5.0 Build 2195

To obtain my PGP-Key send a message to:
  mailto:[EMAIL PROTECTED]?subject=PGP-KEY_REQUEST
PGP-KEY ID: 0x388CEBFF


-BEGIN PGP SIGNATURE-
Version: PGP 7.0
Comment: Quis custodiet ipsos custodes?

iQA/AwUBOlXsQQdigFw4jOv/EQKXAACdFyS1F4sboz/Uk9QFX3HKhCxVm1wAoMpW
Tv0To6EpZtkrbEoVDM7nDRVq
=jUxu
-END PGP SIGNATURE-

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: Execute command ON EXIT

2001-01-05 Thread Ming-Li

On Friday, January 05, 2001, 7:46:11 AM, Kari wrote:

ML That should work, as you've found out. The only "drawback" of
ML that approach is an DOS instance (window) for the batch would
ML stay there the whole time TB is active. It's no big deal, just
ML something I always try to avoid.

 I posted a solution and a complete How-To just five minutes ago.
 Thank you for your effort.

I saw it. But I was talking about the "instance" of the shell, not
the visibility of the window. But as I said, it's just a petty thing
I try to avoid. I'm glad it works out for you.

-- 
Best regards,
Ming-Li

The Bat! 1.49 Beta/2 | Win2k SP1

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: Execute command ON EXIT

2001-01-04 Thread Ming-Li

On Thursday, January 04, 2001, 8:50:08 AM, Kari wrote:

 is there a way I can tell TB! to execute a command when I shut
 down TB?

Not as I know.

 I think of executing my backup Batchfile.

 Is this possible?

Try starting your backup batchfile with the following line:

\path\thebat /exit

You may add a pause after it for TB to close properly.

-- 
Best regards,
Ming-Li

The Bat! 1.49 Beta/2 | Win2k SP1

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: Execute command ON EXIT

2001-01-04 Thread Thomas Fernandez

Hallo Kari,

On Thu, 4 Jan 2001 17:50:08 +0100 GMT (05/01/2001, 00:50 +0800 GMT),
Kari Jakobi wrote:

KJ is there a way I can tell TB! to execute a command when I
KJ shut down TB? I think of executing my backup Batchfile.

KJ Is this possible?

I just checked the command line parameters. No luck.

In the Folder / Properties / On Exit choices, only two tickboxes.

However, speaking of an external file to be invoked upon exit, that's
no problem. Just create a batch file that you call to invoke TB, and
link this batch file to the desktop shortcut instead of linking it to
TB.

The batch file TB.bat could look like this:

-- start --

drive:\path\thebat.exe
call drive:\path\TBbackup.bat

-- end --

Problem solved. :-)

-- 

Cheers,
Thomas.

-Onward, through the fog. 

Message reply created with The Bat! 1.49 Beta/1
under Chinese Windows 98 4.10 Build 1998 
using an Intel Celeron 366Mhz, 128MB RAM

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: Execute command ON EXIT

2001-01-04 Thread Manfred Ell

On 04-01-2001 at 17:50:08GMT +0100 (which was 16:50 where I live)
Kari Jakobi wrote regarding the subject of "Execute command ON EXIT"


Hello Kari,

Kari is there a way I can tell TB! to execute a command when I
Kari shut down TB? I think of executing my backup Batchfile.

Kari Is this possible?

I don't think so, but it would be a welcome addition.

Regards

-- 
Manfred
__
using TheBat 1.49 Beta/2 (1.49 Beta/2)on Windows 5.0 Build 2195 Service Pack 1, RC 1.1


Agnostics open their prayers with "To Whom it may concern

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: Execute command ON EXIT

2001-01-04 Thread Kari Jakobi

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hello Thomas,

On Fri, 5 Jan 2001, 01:13:24 h [GMT +0800] (which
was 18:13 h [GMT +0100] where I live) you wrote:

TF However, speaking of an external file to be invoked upon exit, that's
TF no problem. Just create a batch file that you call to invoke TB, and
TF link this batch file to the desktop shortcut instead of linking it to
TF TB.

I get a little bit dizzy with this last line... "link it to
the desktop shortcut instead..."
You mean "Place a shortcut of this batch file on your
desktop instead of the link of TB on the desktop" (At least
this one makes sense to me, while yours don't.

TF The batch file TB.bat could look like this:

TF -- start --

TF drive:\path\thebat.exe
TF call drive:\path\TBbackup.bat

TF -- end --

As I see it the first line executes TB. The second line
*should* be executed when I exit TB. Right?
The second line is not executed here. Another W2K problem?
Maybe they changed command structure in some way?

TF Problem solved. :-)

Not yet, but processing.

- -- 
Best regards,
Kari Jakobi

The Bat! 1.49 Beta/1 on Windows NT 5.0 Build 2195

To obtain my PGP-Key send a message to:
  mailto:[EMAIL PROTECTED]?subject=PGP-KEY_REQUEST
PGP-KEY ID: 0x388CEBFF


-BEGIN PGP SIGNATURE-
Version: PGP 7.0
Comment: Quis custodiet ipsos custodes?

iQA/AwUBOlS/9QdigFw4jOv/EQLZAACdGrJlY2UQy6S8LCdddz5hx1zd/yAAnj6+
tbG5m91k+FKzUBRgP6lcAMFe
=tPGK
-END PGP SIGNATURE-

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: Execute command ON EXIT

2001-01-04 Thread Roel

Hi Thomas

On Fri, 5 Jan 2001 01:13:24 +0800GMT
   (which was 4/01/2001, 18:13 +0100GMT for me),

you wrote:

TF The batch file TB.bat could look like this:

TF -- start --

TF drive:\path\thebat.exe
TF call drive:\path\TBbackup.bat

TF -- end --

TF Problem solved. :-)

not entirely:
the result here will be the startup op tb!, immediatelly followed by
the execution of tbbackup.bat

what you need to change:

drive:\path\thebat.exe into:
start /wait drive:\path\thebat.exe
  /w (depends on your os: /wait for nt, /w for 9x)
  
-- 
 Der Immer Jodelende Schweizer In Lederhosen
 Roel   [EMAIL PROTECTED]

 * Speelplein Aboe http://www.aboe.zzn.com *

 'Pieces of Nine! Pieces of Nine!' Another parroty error!

 Using The Bat! 1.49 Beta/2 on Windows NT 5.0 build 2195 Service Pack 1
 with an Amd Athlon 700 @ 256 MB  35Gb Hd

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: Execute command ON EXIT

2001-01-04 Thread Thomas Fernandez

Hallo Roel,

On Thu, 4 Jan 2001 19:41:55 +0100 GMT (05/01/2001, 02:41 +0800 GMT),
Roel wrote:

R not entirely:
R the result here will be the startup op tb!, immediatelly followed by
R the execution of tbbackup.bat

R what you need to change:

R drive:\path\thebat.exe into:
R start /wait drive:\path\thebat.exe
R   /w (depends on your os: /wait for nt, /w for 9x)
  
Oops... this wasn't the problem when I was still programming in DOS.
Version 3, that is. ;-)

About Kari's problem: what's the wait command in W2K?

-- 

Cheers,
Thomas.

Experience is something you don't get until just after you need it. 

Message reply created with The Bat! 1.49 Beta/1
under Chinese Windows 98 4.10 Build 1998 
using an Intel Celeron 366Mhz, 128MB RAM



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: Execute command ON EXIT

2001-01-04 Thread Roel

Hi Thomas

On Fri, 5 Jan 2001 02:56:19 +0800GMT
   (which was 4/01/2001, 19:56 +0100GMT for me),

you wrote:

TF About Kari's problem: what's the wait command in W2K?

/wait because w2k=nt5 :-)

-- 
 Der Immer Jodelende Schweizer In Lederhosen
 Roel   [EMAIL PROTECTED]

 * Speelplein Aboe http://www.aboe.zzn.com *

 Ya know...I always look for inner beauty in a woman. Once inner...beauty!

 Using The Bat! 1.49 Beta/2 on Windows NT 5.0 build 2195 Service Pack 1
 with an Amd Athlon 700 @ 256 MB  35Gb Hd

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: Execute command ON EXIT

2001-01-04 Thread Kari Jakobi

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hello Thomas,

On Fri, 5 Jan 2001, 02:56:19 h [GMT +0800] (which
was 19:56 h [GMT +0100] where I live) you wrote:

R what you need to change:

R drive:\path\thebat.exe into:
R start /wait drive:\path\thebat.exe
R   /w (depends on your os: /wait for nt, /w for 9x)
  
TF Oops... this wasn't the problem when I was still programming in DOS.
TF Version 3, that is. ;-)

TF About Kari's problem: what's the wait command in W2K?

It is working now. Thomas, it's "/wait" as W2K is well, look
for yourself. ;-)

Thank you very much, guys. It's always nice to now where to
go when trouble is on the road ahead.

...And now to something completely different...

How do I get rid of the Taskbar icon of the batch file in
use. Hoho! Stop! Don't you gonna tell me to click on the
little x in the upper right corner of that window! I want to
*hide* it...

- -- 
Best regards,
Kari Jakobi

The Bat! 1.49 Beta/1 on Windows NT 5.0 Build 2195

To obtain my PGP-Key send a message to:
  mailto:[EMAIL PROTECTED]?subject=PGP-KEY_REQUEST
PGP-KEY ID: 0x388CEBFF




-BEGIN PGP SIGNATURE-
Version: PGP 7.0
Comment: Quis custodiet ipsos custodes?

iQA/AwUBOlTOOQdigFw4jOv/EQJt5wCeMFK6xJylmubv9d6RtV/MF0o+abkAnArj
SiOSNoUqQMphbQKMxoFNcIjL
=DLjB
-END PGP SIGNATURE-

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: Execute command ON EXIT

2001-01-04 Thread Kari Jakobi

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hello Ming-Li,

On Thu, 4 Jan 2001, 09:21:54 h [GMT -0800] (which
was 18:21 h [GMT +0100] where I live) you wrote:

ML Try starting your backup batchfile with the following line:

ML \path\thebat /exit

ML You may add a pause after it for TB to close properly.

This is the other way round. I call up the backup batch file
which closes TB. Nice, but not what I was looking for. I
will get back to this one if Thomas way won't work.

Thank you anyway!

It's been quite a while... Welcome back.
- -- 
Best regards,
Kari Jakobi

The Bat! 1.49 Beta/1 on Windows NT 5.0 Build 2195

To obtain my PGP-Key send a message to:
  mailto:[EMAIL PROTECTED]?subject=PGP-KEY_REQUEST
PGP-KEY ID: 0x388CEBFF



-BEGIN PGP SIGNATURE-
Version: PGP 7.0
Comment: Quis custodiet ipsos custodes?

iQA/AwUBOlTAuQdigFw4jOv/EQJSxACgzKB081+ZkRvBx6ynIhsG30zUuaMAoIJ4
ftIjjGz4v/L6irEhc0OTFtLc
=EQPv
-END PGP SIGNATURE-

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: Execute command ON EXIT

2001-01-04 Thread Andrey G. Sergeev (AKA Andris)

Hello!


Thursday, January 04, 2001, 10:25:47 PM, Kari Jakobi [EMAIL PROTECTED] wrote:

lost

KJ ...And now to something completely different...

KJ How do I get rid of the Taskbar icon of the batch file in
KJ use. Hoho! Stop! Don't you gonna tell me to click on the
KJ little x in the upper right corner of that window! I want to
KJ *hide* it...

If you want to hide the icon and window completely you'll need an
utility like HideWindow -
http://www.winsite.com/info/pc/win95/desktop/hidewndw.zip/downl.html. If
you want to "convert" the taskbar icon to a systray icon you may look
for a TrayRun (or similar) program.


-- 

Yours sincerely,

Andrey G. Sergeev (AKA Andris) http://www.andris.msk.ru/

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re: Execute command ON EXIT

2001-01-04 Thread Andrey G. Sergeev (AKA Andris)

Hello!


Thursday, January 04, 2001, 8:12:54 PM, Manfred Ell [EMAIL PROTECTED] wrote:

Kari is there a way I can tell TB! to execute a command when I
Kari shut down TB? I think of executing my backup Batchfile.

Kari Is this possible?

ME I don't think so, but it would be a welcome addition.

:-) I think it will be better if one will learn more about the OS in
use, especially some basics of scripting.


-- 

Yours sincerely,

Andrey G. Sergeev (AKA Andris) http://www.andris.msk.ru/

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org