1.

Solve : Two bat similar and only one work fine. Why ??

Answer»

SpyBot Search and Destroy.

First bat :

echo off
echo se trata de automatizar spybot. que se abra. se actualice. se inmunice. analice problemas, los corriga y se cierre
M:
cd "M:\Archivos de programa\Spybot - Search & Destroy\"


SpybotSD.exe /autoupdate /autoclose
SpybotSD.exe /autoimmunize /autoclose
SpybotSD.exe /autocheck /autofix /autoclose

echo
echo off


Note : This is with the no portable VERSION of Spybot.
The second bat is with the portable version.

Second bat

echo off
echo se trata de automatizar spybot. que se abra. se actualice. se inmunice. analice problemas, los corriga y se cierre
Y:
cd "Y:\PORTABLES\Protección\Spybot\Spybot - Search & Destroy\"


SpybotSD.exe /autoupdate /autoclose
SpybotSD.exe  /autoimmunize /autoclose
SpybotSD.exe  /autocheck /autofix /autoclose

echo
echo off


Notes : This second bat is with the portable version. Manually with start - execute - cmd - (going to the installation directory) and proposing the lines goes well.
I am using windows xp pro.

It's despairing observ that this script don't go well and know nothing about it.

Third bat :

echo off
echo se trata de automatizar spybot. que se abra. se actualice. se inmunice. analice problemas, los corriga y se cierre
Y:
cd "Y:\PORTABLES\Protección\Spybot\"

rem añado la ruta completa en fecha 02.02.2010 para ver si funciona ahora.....
"Y:\PORTABLES\Protección\Spybot\SpybotSDPortable.exe" /autoupdate /autoclose
"Y:\PORTABLES\Protección\Spybot\SpybotSDPortable.exe"  /autoimmunize /autoclose
"Y:\PORTABLES\Protección\Spybot\SpybotSDPortable.exe"  /autocheck /autofix /autoclose

echo
echo off


Notes : No results . cmd windows flash and happen nothing.


What can I do ?

I really don't understand why the first bat go well and the others no.

Thanks
Excuse my language. I'm from Canary Islands



Try running the BAT file in a command window. It should give an indication where or why it is failing.the message

El sistema no puede hallar la ruta especificada.

The SYSTEM can't find the specified path

I THINK is for the accent in the "protección".

What can i do ?

Quote from: Esgrimidor on February 02, 2010, 09:10:30 AM



What can I do ?



Uninstall  the spanish version and install  the english version?

Change the path and FOLDER names to english?

Use German version?

Install  and run  Malwarebytes' Anti-Malware?

Download, install and run Malwarebytes' Anti-Malware

http://www.malwarebytes.org/mbam.php
Quote from: Esgrimidor on February 02, 2010, 09:10:30 AM
the message

El sistema no puede hallar la ruta especificada.

The system can't find the specified path

I think is for the accent in the "protección".

What can i do ?



The easiest SOLUTION would be to rename that directory to something else: e.g. Protect.It's not possible to rename. But the solution was copy the final folder to another place.

In Protect goes many portable software about security. And many links to my program goldmine and others.

Understood for the next time. Precisaly I was looking about using "ñ" in domains names. .....

Or you could try:

Code: [Select]echo off
echo se trata de automatizar spybot. que se abra. se actualice. se inmunice. analice problemas, los corriga y se cierre
Subst P: "Y:\PORTABLES\Protección\Spybot"
P:

rem añado la ruta completa en fecha 02.02.2010 para ver si funciona ahora.....
SpybotSDPortable.exe /autoupdate /autoclose
SpybotSDPortable.exe  /autoimmunize /autoclose
SpybotSDPortable.exe  /autocheck /autofix /autoclose

Subst P: /DSorry,

There should be a CD Y: before the last line. Quote
Precisaly I was looking about using  .....

http://www.idnnews.com/?p=5704

Quote from: oldun on February 02, 2010, 05:10:34 PM
Sorry,

There should be a CD Y: before the last line.

I don't understand. Can you put the whole script ?

Thanksss
Code: [Select]Third bat :

echo off
echo se trata de automatizar spybot. que se abra. se actualice. se inmunice. analice problemas, los corriga y se cierre

REM If P: is already in use, use another letter
Subst P: "Y:\PORTABLES\Protección\Spybot"

P:

rem añado la ruta completa en fecha 02.02.2010 para ver si funciona ahora.....
SpybotSDPortable.exe /autoupdate /autoclose
SpybotSDPortable.exe  /autoimmunize /autoclose
SpybotSDPortable.exe  /autocheck /autofix /autoclose

CD %~d0
Subst P: /D

echo
echo off

I try an will comment

Best Regards



Discussion

No Comment Found