Windows scripting of filepro startup files

Reggie Freedman rdfreedman at bellsouth.net
Thu Sep 17 18:02:03 PDT 2009


I'm having similar problems... not sure I have a final solution.... But some 
ideas.....

Vista - I have a shortcut in the startup folder to a batch.bat file.... 
Manually had to click the task tray icon and allow it to run. I renamed to 
batch.cmd and seems to work now. batch.cmd also works in XP.

server 2008 - in Task Scheduler, batch.bat nor batch.cmd run nor shortcuts 
to them... No error, no message, nothing. They show as running, but they are 
not. I converted my batch.bat to batch.exe and added batch.exe as an 
exception to windows' firewall (allows only programs to be exceptions, .exe, 
etc., not name.bat or name.cmd). Point a shortcut to the batch.exe and the 
batch.exe runs. Hope it stays working. I will post again in a few days.

Reggie


----- Original Message ----- 
From: "Kenneth Brody" <kenbrody at spamcop.net>
To: <rkreiss at gccconsulting.net>
Cc: "'FilePro Mailing List'" <filepro-list at lists.celestial.com>
Sent: Wednesday, September 16, 2009 11:15 PM
Subject: Re: Windows scripting of filepro startup files


> Richard Kreiss wrote:
> [...]
>> Task is running on the server - server 2008.
>
> And it's on a local drive?  That eliminates the "network drive is an
> untrusted source" aspect.
>
>> The batch file will run without a complaint from the command line
>
> Okay.
>
>> but not as
>> a shortcut on the desktop.  Always get the warning of an unsigned 
>> program.
>
> Perhaps Server 2008 is even pickier than Vista?
>
>> I created a new batch file with just fp's set requirements.  No 
>> executable.
>> Got the same warning.
>
> I would expect that the contents of the .bat file are irrelevent, and it's
> based solely on the .bat extension.
>
>> I am going to assume that filePro's executables have been Microsoft 
>> signed
>> as the run without causing a problem or have they?
>
> No, they have not.  Note that, on Vista at least, executables on network
> shares give the same "unsigned" message as .bat files.
>
>> Have you looked at the Windows powershell program.  It looks like they 
>> are
>> developing something akin to a korn shell with a strong scripting 
>> language.
>
> No, I have not.  Will it create .exe files which don't get complaints from
> Vista and Server 2008?
>
>> I may try this next.  There has got to be some way to set fp's 
>> environment
>> and run a program without having  windows complain about not having the
>> proper signature.
>
> If you don't mind having them set globally, then use the control panel to
> set them at startup.  How to do this on Server 2008 is left as an exercise
> to the reader.
>
> -- 
> Kenneth Brody
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
> 



More information about the Filepro-list mailing list