Windows scripting of filepro startup files

Reggie Freedman rdfreedman at bellsouth.net
Fri Sep 18 14:32:16 PDT 2009


Hi Ken,

Renaming a .bat file to a .cmd file is ok.

Convert most .bat files to .exe files using
Bat_To_Exe_Converter.exe ver 1.5.0.0 available
free at www.f2ko.de. For Vista and back...

Reggie


----- Original Message ----- 
From: "Kenneth Brody" <kenbrody at spamcop.net>
To: "Reggie Freedman" <rdfreedman at bellsouth.net>
Cc: "'FilePro Mailing List'" <filepro-list at lists.celestial.com>
Sent: Friday, September 18, 2009 9:47 AM
Subject: Re: Windows scripting of filepro startup files


> Reggie Freedman wrote:
>> I'm having similar problems... not sure I have a final solution.... But 
>> some ideas.....
>
> Nothing personal, but I prefer to stay away from anything that's called a 
> "final solution".
>
>> 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.
> [...]
>
> I'd be very surprised if renaming a .bat file to .exe would let it work, 
> as I would expect Windows to treat it as a 16-bit DOS .com file.
>
> And, a quick test on my Vista box shows that the ".exe" file immediately 
> crashes as it tried to treat the text as x86 machine code:
>
> ---------------------------
> 16 bit MS-DOS Subsystem
> ---------------------------
> C:\Windows\system32\cmd.exe - __foo__
> The NTVDM CPU has encountered an illegal instruction.
> CS:123b IP:0101 OP:65 63 68 6f 20 Choose 'Close' to terminate the 
> application.
> ---------------------------
> Close   Ignore
> ---------------------------
>
>
> -- 
> Kenneth Brody
> 



More information about the Filepro-list mailing list