Run .bat file w/o "unsigned" warning?

B

+Bob+

How can I run a .bat file I wrote without the interactive warning "The
publisher could not be verified..."

I don't digitally sign the bat files I write - so the message is
correct. I still don't want to see it :)

Thanks,
 
G

Gernot Frisch

How can I run a .bat file I wrote without the interactive warning "The
publisher could not be verified..."

Try copying it to a FAT32 drive and back.
 
C

Censored Syndrome

Gernot Frisch said:
Try copying it to a FAT32 drive and back.

WTF? It's just a text file.

The OP:

Is the .bat file accessing something on a server?

ss.
 
G

Gernot Frisch

WTF? It's just a text file.

Yes, but sometimes NTFS stores some additional information to files. e.g.
when you download an .exe file from the internet, you get a warning when you
double click it.
You can get rid of that by removing the additional information that can only
be stored on NTFS that way.

I was just guessing, so.. anyway.
 
B

+Bob+

Is the .bat file accessing something on a server?

ss.

I think you're on the right trail... when I run the file on the
server, I get the warning. I can run it locally and not get the
warning.

How do I shut off this network warning? I have the same issue with a
database that MS-Access (on Vista) won't even let me open from a local
network drive! (file is on untrusted source yada, yada, yada).
 
S

Synapse Syndrome

+Bob+ said:
I think you're on the right trail... when I run the file on the
server, I get the warning. I can run it locally and not get the
warning.

How do I shut off this network warning? I have the same issue with a
database that MS-Access (on Vista) won't even let me open from a local
network drive! (file is on untrusted source yada, yada, yada).

Try adding \\servername to Internet Options - Security - Local Intranet
zone.

ss.
 
S

Synapse Syndrome

Synapse Syndrome said:
Try adding \\servername to Internet Options - Security - Local Intranet
zone.


Actually, I think that only applies to Win2003. Try reading this:
http://www.annoyances.org/exec/forum/winvista/1151260847

Alternatively, if an .exe is involved, try browsing to it on the server, and
check its Properties. There may be a message saying something about Vista
blocking a potential hazardous file. Untick it.

ss.
 

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