Tracy,

Thanks for the tip.


Regards
Robert 
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Tracy Pearson
Posted At: 14 August 2007 12:59
Posted To: Profox Archive
Conversation: Running a batch file from VFP MTDLL
Subject: Re: Running a batch file from VFP MTDLL


 From vague recollection of conversations I've read in the past. Is it
this? The user that the IIS service is started by isn't part of Everyone
group.

HTH,
Tracy

Robert Jennings wrote:
> Hi all,
>  
> I've been banging my head against the screen for 2 days trying to 
> solve this one:-
>  
> I'm creating a batch file to create self extracting zip files which is

> working fine. This will package up Workstation, Application and Data 
> files into a self extracting zip for application installation.
>  
> I can run the following command from the command window
>  
> ! c:\test\setup.bat 110
>  
> I can also run this
>  
> ! &lccommand
> (Where lccommand="c:\test\setup.bat 110"  110 is a parameter for the 
> batch file.)
>  
> Both work fine.
>  
> However, when I compile the code up as a MTDLL and create an object of

> the DLL and get IIS to run it the ! command doesn't seem to work. It 
> causes a HTTP500 error.
>  
> I've tried Shellexe to no avail. That returns error code 5 which is 
> Access Denied, but everyone has full control in C:\test\ (for testing
> purposes) and the DLL can create a text file in that folder.
>  
> Any idea's?
> TIA
> Robert



[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to