possible script blocking issue

R

Richard Bowker

could someone please look into this issue that was noted by
a colleague:
I have a .bat file that looks like this:
@echo off
attrib *.* -r
del *.ocx
del *.dll


Which sits in my binaries directory and which I use after
unregistering
and before doing a regclean. The problem comes because I
don't fully qualify my path in the file. After recently
installing microsoft's anti-spyware, when I try to run the
file for the first time again, a message pops up warning me
that a script is trying to run, and asking if I should
allow it.
Clicking yes is the obvious thing to do, however the first
time it runs (when you click to allow), it runs in the
C:\WINDOWS\system32 directory.
Which is not desirable.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top