Windows scripting of filepro startup files

Kenneth Brody kenbrody at spamcop.net
Wed Sep 16 15:06:24 PDT 2009


Richard Kreiss wrote:
[...]
>>> With the last 2 releases of IE, security settings have had to be changed
> to
>>> eliminate the security warning.  Although this is more of an annoyance
> when
>>> clicking on a desktop startup icon, it causes major problems when
> running
>>> tasks at night.
>>>
>>> Is there another way to script fp to startup other then with a batch
> file?
[...]
>> I have no problems with batch files on my Vista laptop, regardless of how
> I
>> start them, with the exception of using a web browser.  (Firefox shows me
>> the contents of the file.  Safari opens the batch file's directory, with
> the
>> batch file highlighted.  IE7 gives me the security warning before letting
> me
>> run it.)
>>
>> My suggestion, as I state above, is to not use a web browser to run a
> batch
>> file.  Can you explain why you are using this method?  Perhaps there is
> some
>> other piece of information missing from your description?
> 
> Ken,
> 
> Not using a web browser to start the programs.  IE or parts of it run with
> the desktop.  To eliminate the security warning when running a batch file
> from the desktop, one of the settings in, in my case, IE8 has to be
> unchecked.
> 
> I have a client who is running Windows Server 2008 and they want to maintain
> a high security level and their outside vendor does not want to lower it.

Perhaps Server 2008 is even pickier than Vista?

As I said, nothing in Vista, aside from a web browser, gives so much as a 
peep when I start a batch file.

> As I stated, the problem is running scheduled tasks in with the Task Manager
> on the server.  The security warning pops up and isn't answered as these are
> being run between 12:30 AM and 4 AM  each morning.

Okay, I didn't try the task scheduler, since this is the first mention of it 
that I see.

If you try running the batch file outside the scheduler, does it complain 
there as well?

Note that I just wrote a simple batch file to run in the scheduler on my 
Vista laptop, and it ran via the scheduler without incident.

> So, I am looking for some other method of scripting filepro to start which
> will not cause Windows to give a warning.

A simple C program with a line like this may suffice:

     system("batchfilename");

There are plenty of free C compilers for Windows.

-- 
Kenneth Brody


More information about the Filepro-list mailing list