A
Arthur Eschenlauer
I frequently write .BAT and .CMD files onto which I can drop other files
from within Windows Explorer. For example, if I drop a file onto a batch
file that has the line
echo DLL is '%~s1'
then it echoes the full path to the file to the command-line window that
opens up.
When I do this with AntiSpyware Real Time Protection turned on, it asks me
if I want to allow the script to run. I say yes, but the parameters are not
passed to the script, i.e., it gets a null value for the path to the dropped
file (%~s1 is hosed). If I try again, the script is executed without asking
permission, but again, the parameters are lost.
If I turn off Real-Time Protection, the scripts run the way that I expect.
That is my workaround, but IMHO a script that is permitted to run with
Real-Time Protection turned on should receive all of the parameters that it
would receive with Real-Time Protection turned off.
from within Windows Explorer. For example, if I drop a file onto a batch
file that has the line
echo DLL is '%~s1'
then it echoes the full path to the file to the command-line window that
opens up.
When I do this with AntiSpyware Real Time Protection turned on, it asks me
if I want to allow the script to run. I say yes, but the parameters are not
passed to the script, i.e., it gets a null value for the path to the dropped
file (%~s1 is hosed). If I try again, the script is executed without asking
permission, but again, the parameters are lost.
If I turn off Real-Time Protection, the scripts run the way that I expect.
That is my workaround, but IMHO a script that is permitted to run with
Real-Time Protection turned on should receive all of the parameters that it
would receive with Real-Time Protection turned off.