updating spywareblaster

January 21, 2010 at 11:40:32
Specs: Windows Vista
Is it possible to write a batch file to put on desktop so that one click will open spywareblaster, check for updates and if there are any install them and add them to the data base.

And make this happen on a schedule


See More: updating spywareblaster

Report •


#1
January 21, 2010 at 14:44:22
Possibly ... right click on "Start", select "Explore all users", look for the icons that do what you refer to (in this case, 1 to start spywareblaster, and the other one to "check for updates")

If you find the shortcuts in the right pane, right click them, select Properties ... and see what is mentioned in "Target" and "Start in".

You can TRY to put these commands straight into a batchfile (BAT/CMD)

Good luck


Report •

#2
January 21, 2010 at 14:50:38
C:\Program Files\SpywareBlaster\spywareblaster.exe is the target but start in is blank

And how do I do the part that installes the updates and then adds them to the database?

For the schedule i could use the windows schedule to start the the batch file.

Thanks


Report •

#3
January 21, 2010 at 22:21:16
I haven't used spywareblaster for some time, but don't they sell subscriptions to autoupdate and allow manual updating free?

The only way to do what your asking is a series of simulated mouse/keyboard events. The process is delicate and is easily interrupted by the user.

nircmd(do a search) can send these events/focus the window from a batch file, though I won't help any further than that.


Batch Variable how to


Report •

Related Solutions

#4
January 22, 2010 at 02:25:14
You should just try and find it, MAYBE it's an option of the call to the main program (but it can be anything). Try (in DOS, not in Start\Run because this will flash away when done):

"C:\Program Files\SpywareBlaster\spywareblaster.exe" -autoupdate

It may respond with an error indicating the parameter is not allowed ... and then it MAY show which ones it does accept. This is trial and error of course. Or you can browse the internet "spywareblaster.exe parameter parameters ..."

edit : Browse here : http://www.msfn.org/board/lofiversi...
Or, you can also browse your registry (Start\run\regedit\left click on "My Computer"\F3\enter : spywareblaster)

For the main program starting batch, this would work:

-----------
@echo off

"C:\Program Files\SpywareBlaster\spywareblaster.exe"


Report •

#5
January 22, 2010 at 03:05:43
@echo off

"C:\Program Files\SpywareBlaster\spywareblaster.exe"

That vworked and SB opened. Also a CMD window opened?

what does echo off mean. i am a beginner to this. There is an auto update with subscription but i just wat to learn how to do it
Thanks


Report •

#6
January 22, 2010 at 03:07:36
It means it will only show the output of the command, not the text of the command itself. Just remove that ECHO command, you'll see

Report •

#7
January 22, 2010 at 03:10:48
"It means it will only show the output of the command, not the text of the command itself. Just remove that ECHO command, you'll see" yes I did thanks

Report •

#8
January 22, 2010 at 03:28:39
> Also a CMD window opened?
>

Try either (to get the trailing DOS box being disappeared) :


------------
@echo off

start "C:\Program Files\SpywareBlaster\spywareblaster.exe"

------------
or
------------

@echo off

call "C:\Program Files\SpywareBlaster\spywareblaster.exe"


Report •

#9
January 22, 2010 at 03:45:03
------------
@echo off

start "C:\Program Files\SpywareBlaster\spywareblaster.exe"
only goes to a dos window C:\users\myname\documents
-------------
@echo off

call "C:\Program Files\SpywareBlaster\spywareblaster.exe"
opens SB but also the dos window opend just before SB

Is this what is called a shell command?


Report •

#10
January 22, 2010 at 04:08:45
Well, the first word of a line, either at the command line, or in a batch script(BAT/CMD), is usually the command. So in all of the above examples, it's either START, CALL or "spywareblaster.exe" itself.

A shell command may be what would be described otherwise as an internal (Windows) command, like START, CALL or ECHO, but not "spywareblaster". Still, an internal command may be just an .EXE file (in the Windows folder), but it may also not be.

Anyway, what you asked initially, is NOT to have an additional (empty) DOS box being opened, but still having your target program being started. One of the 3 methods (specifying START or CALL or nothing), should do that.


Report •

#11
January 22, 2010 at 04:27:23
I get the additional empty Dos box wheter i use START or CALL or nothing

Report •

#12
January 22, 2010 at 04:40:54
"Start" expects the first quoted string to be a window title,
just pass it an empty string:

start "" "C:\Program Files\SpywareBlaster\spywareblaster.exe"



Batch Variable how to


Report •

#13
January 22, 2010 at 04:55:46
start "" "C:\Program Files\SpywareBlaster\spywareblaster.exe"
OK now it worked with just a flash of the dos window

Now how do i find the part that checks for updates and where do i put it? Do I need the full path again
There is a ckdatabase.dtb in the SB folder.

i tried that underneath the first line and also tried it with the full path

start "C:\Program Files\SpywareBlaster\spywareblaster.exe\ckdatabase.dtb but it just opened but did not check for updates

Why does it need the " "


Thanks


Report •

#14
January 22, 2010 at 07:17:18
> "Start" expects the first quoted string to be a window
> title,
> just pass it an empty string:
>
> start "" "C:\Program Files\SpywareBlaster\
> spywareblaster.exe"
>

Cool, I didn't know that!
So, it would (probably) work with :

start C:\Progra~1\SpywareBlaster\spywareblaster.exe


Report •

#15
January 22, 2010 at 07:18:36
> Why does it need the " "
>

Check "start /?"


Report •

#16
January 22, 2010 at 07:23:03
> Now how do i find the part that checks for updates and
> where do i put it? Do I need the full path again
> There is a ckdatabase.dtb in the SB folder.
>
> i tried that underneath the first line and also tried it with
> the full path
>
> start "C:\Program Files\SpywareBlaster\spywareblaster.exe
> \ckdatabase.dtb but it just opened but did not check for
> updates
>

A DTB file (whatever it is) is not executable, so this will not work. You need either:

C:\Program Files\SpywareBlaster\spywareblaster.exe /someparameter

or another executable (usually in same directory), Check this :

cd /d "C:\Program Files\SpywareBlaster"
dir *.bat *.cmd *.com *.exe /s /b

It may give some clue already


Report •

#17
January 22, 2010 at 07:28:51
Check "start /?"
Not sure what that means

Now i have been able to use the desktop file to start 3 security programs
@echo off


start "" "C:\Program Files\Spywareblaster\spywareblaster.exe"
start "" "C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe"
start "" "C:\Program Files\Malwarebytes' Anti-Malware\mbam.exe"

I also have them have them on a schedule to start

But still have to update them manually

Thanks


Report •


Ask Question