|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to call EXE from Batch File in Windows 2003 Server?I have given the following line in batch file and i will call the batch file
from VB DLL in 2003 Server. I will call the dll from ASP. Batch file contains: java > d:\err.err If the above batch file gets called, then i will get the err file created with no data.(empty log file) In the same way if i call dir > d:\err.err err file contains the output of the dir command for that particular directory. please tell me how to call the exe from batch file? I had set the jdk bin path in environment vars. please tell me how to call the exe from batch file? On Fri, 1 Jul 2005 01:55:04 -0700, "Technology"
<Technol***@discussions.microsoft.com> wrote: Show quoteHide quote >I have given the following line in batch file and i will call the batch file Enter the command line in the batch file. Check a scripting or batch>from VB DLL in 2003 Server. >I will call the dll from ASP. >Batch file contains: > >java > d:\err.err > >If the above batch file gets called, then i will get the err file created >with no data.(empty log file) >In the same way if i call >dir > d:\err.err >err file contains the output of the dir command for that particular directory. > >please tell me how to call the exe from batch file? file group if you need more details. >I had set the jdk bin path in environment vars. You just asked and I just answered that.>please tell me how to call the exe from batch file? Your problem is likely caused by the fact that you don't understand what account is running the batch file or DLL. Keep in mind it is most likely not the account logged into the physical system, it's the account your ASP code is running under. The authenticated user or anonymous user account. Naturally, if that account doesn't have permission, the DLL and batch file and EXE will never run. Jeff
iis + win2k adv server problem
Classic ASP page gives 'The page cannot be found' in IIS6.0 Trying to understand this behavior, Ports in IIS Domain-based IUSR and IWAM accounts IIS/NTFS persmissions help Giving Inetrnet Guest account full access to folders IIS/Windows Permissions/Rights Resetting IUSR user token IIS6 / W2K3 / Client Certificate - Urgent help required! SSL Site showing Page not found |
|||||||||||||||||||||||