|
|
|
EXEShell COM Library |
|
Do you need execute a DOS command / batch file / exe from ASP?
if yes, this EXEShell COM LIbrary will meet your requirement.
ExeShell COM Library is a COM interface, it allows you to run an EXE
application from current user account or a special user account, for
example, you can run an EXE from Administrator user account to get
higher privileges. |
| |
| ExeShell COM Library is
a freeware, you can download it at here. [Download] |
| |
| For example, |
<%
Set comEXEShell = Server.CreateObject("exeshell.shell")
comEXEShell.RunCommandLine "Administrator", "123456",
"C:\pdf2vec.exe C:\test.pdf C:\test.swf"
Set comEXEShell = Nothing
%> |
| |
| Remark: |
You may encounter Error 1314 in some Windows systems, please by
following steps to solve this 1314 Error,
ERROR 1314:
~~~~~~~~~~~~~
1314 A required privilege is not held by the client.
ERROR_PRIVILEGE_NOT_HELD
~~~~~~~~~~~~~
To resolve this issue:
1. Click Start, click Run, type "secpol.msc", and then press ENTER.
2. Double-click "Local Policies".
3. Double-click "User Rights Assignment".
4. Double-click "Replace a process level token".
5. Click "Add", and then double-click the "Everyone" group
6. Click "OK".
7. You may have to logout or even reboot to have this change take
effect.
Please refer to following two screenshots to understand above steps, |
|
 |
|
|
|
 |
|
|
|
|
|
|
|
|
|