Jump to content

Deeto

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Deeto

  • Rank
    Newbie

Profile Information

  • Location
    Massachusetts
  1. I gave the acct correct privs to BAT and EXEAre you sure there's no Windows Scripting COM I should mess with?
  2. I'd love to, but this EXE requires it run in the context of the appropriate directory. In other words, I cannot run it as:C:\Inetpub\wwwroot\HCForum\uploadfiles\pdftotext.exe -eol dos -nopgbrk C:\Inetpub\wwwroot\HCForum\uploadfiles\[filename] -The only syntax that works is:pdftotext.exe -eol dos -nopgbrk [filename] -which requires it be run from the correct directory.Are there permissions I can update in DCOMCONFIG to allow my IIS user acct to execute WSH bat files? I had to make these changes so the server would create WORD.APPLICATION and EXCEL.APPLICATION instances. I'm not sure what COM I
  3. running the BAT directly works no problem. For some reason, I cannot call a BAT from WScript.Even if I change the content of the BAT to:MKDIR C:\HELLOit still doesn't run. No errors, and if I set the exec to a var the result is 0, which means that it executed successfully.I'm totally confused.
  4. I can create the WScript object - I am not having a permissions error. The problem is I'm trying to call a BAT file and what was working on WinXP no longer works on Win Server 2003.I'm running IIS with anonymous access but am using a specific local acct (not IUSR). This account has full access to the BAT, EXE and dir where it's located.Other WScript shell scripts are working, just not the call to this BAT. The BAT does work from command line, so I assume this is an acct issue but I can't figure out where. Any thoughts?Here's the code: Set WshShell = CreateObject("WScript.Shell")Set WshExec =
  5. Hi all, long time lurker / new poster here. I've been bashing my head against the wall trying to figure out how to do something, and I'm hoping this community can point me in the right direction. Here's the situation:I manage a technical pre-sales team at a software company. I recently built an ASP (not .NET) based Forum for the team to use to collaborate on projects, how-to's, etc. The Forum supports rich media - image, file, video, etc attachments. I have a separate upload component I'm using and all that is working great.You Forum junkies know that adding images to your posts can sometimes
×
×
  • Create New...