Topic: vedit-cleanup.bat (1 of 5), Read 26 times
Conf: Installation, Configuration
From: John Slattery
Date: Wednesday, November 08, 2006 11:03 AM

Lately, I've noticed a command prompt window flash on my desktop after logging into Windows XP. This is somewhat scary, so I investigated and determined that my recently installed Vedit v6.15.1 is checking for and setting, if necessary, a run once registry key for a batch file named vedit-cleanup.bat each time it starts.

My guess is that the section of startup.vdm that does this could be remmed and Vedit would behave much if not exactly as it did in the past. Vedit still attempts to keep track of the files it creates and cleanup after itself? Vedit-cleanup.bat is just in case something slips by or Vedit abnormally ends, right?

I suppose it may be petty, but that command prompt window at logon annoys me and I would really like to get rid of it, if it can be done safely.

Thanks.

 


Topic: Re: vedit-cleanup.bat (2 of 5), Read 28 times
Conf: Installation, Configuration
From: Ted Green
Date: Wednesday, November 08, 2006 11:26 AM

At 11:06 AM 11/8/2006, you wrote:
>Lately, I've noticed a command prompt window flash on my desktop after logging into Windows XP. This is somewhat scary, so I investigated and determined that my recently installed Vedit v6.15.1 is checking for and setting, if necessary, a run once registry key for a batch file named vedit-cleanup.bat each time it starts.

That is correct.


>My guess is that the section of startup.vdm that does this could be remmed and Vedit would behave much if not exactly as it did in the past. Vedit still attempts to keep track of the files it creates and cleanup after itself? Vedit-cleanup.bat is just in case something slips by or Vedit abnormally ends, right?

That is also correct. Since VEDIT is often used to edit Giga-byte sized files, I don't want giga-byte sized temp files lying around. Just trying to be real clean.

>I suppose it may be petty, but that command prompt window at logon annoys me and I would really like to get rid of it, if it can be done safely.

You could delete the ":CLEANUP:" section in the startup.vdm file.

I have tried to make the command run minimized or invisibly, but have not yet managed. I may need to write a Windows program to perform the delete.

Ted.

 


Topic: Re: vedit-cleanup.bat (3 of 5), Read 29 times
Conf: Installation, Configuration
From: Christian Ziemski
Date: Wednesday, November 08, 2006 01:47 PM

On Wed, 08 Nov 2006 11:26:00 -0500, Ted Green wrote:

>At 11:06 AM 11/8/2006, you wrote:
>>Lately, I've noticed a command prompt window flash on my desktop
>>after logging into Windows XP. This is somewhat scary, so I
>>investigated and determined that my recently installed Vedit v6.15.1
>>is checking for and setting, if necessary,[...]
>
>I have tried to make the command run minimized or invisibly,
>but have not yet managed.

Now I too tried to make it invisible.

For about 15 Windows' restarts yet...

Strange things are happening.
It is visible and works or it is invisible and not working :-(
I don't understand what's going on internally in RunOnce.

But I don't give up and try a bit more.

Stay tuned.


Christian

 


Topic: Re: vedit-cleanup.bat (4 of 5), Read 36 times
Conf: Installation, Configuration
From: Christian Ziemski
Date: Wednesday, November 08, 2006 05:41 PM

The story of making VeditCleanup invisible continues:


Beginning with the following code from STARTUP.VDM

Reg_Set(105,"cmd /y /q /c")
Registry_Set_Item(`|@(104)VEDIT_Cleanup=|@(105)
"|@(103)\vedit-cleanup.bat"`)

I tried it with the "Start /min" command, a normally useful one.
Unfortunately it doesn't work well used together with CMD.EXE and/or
batch files and/or internal commands (documented in start /?).

It really seems to be necessary to have a real application to do the
things.

So why not use VEDIT itself?

This works invisible from the command line:

c:\vedit\vpw.exe -q -c "File_Delete('|(VEDIT_TEMP)\*',
OK+EXTRA+NOERR) QALLY"

and also by putting it into the RunOnce registry entry!


Christian

 


Topic: Re: vedit-cleanup.bat (5 of 5), Read 42 times
Conf: Installation, Configuration
From: Ted Green
Date: Wednesday, November 08, 2006 05:52 PM

At 05:27 PM 11/8/2006, you wrote:
>So why not use VEDIT itself?
>This works invisible from the command line:

Interesting. I would need to change the uninstall to delete all temp files. I wanted to be sure all VEDIT temp files are removed even (especially) if VEDIT is uninstalled.

Ted.