TO run an Application from Batch file

From: viki (freetorn2002_at_yahoo.ca)
Date: 10/24/04


Date: 24 Oct 2004 09:34:36 -0700

Hi,
I want to run the batch file from the asp.net
web(intranet)application. The batch files works fine if it has some
copy or del command, eventhough i could not see the command window.
But if the batch file has some application for e.g., Notepad,it seems
to open the notepad as i could see it running in the task manager, but
the application hangs. But if i give exit after some time, the
application exits but the process for notepad still running in the
task manager and does nothing.

I could run the same code in the windows vb.net application, it works
fine. Do i need to set any additional privileges to the user account
to run the application in the batch file.

To be more clear, i am using Integrated authentication for windows and
impersonation identity= true . Could anyone please share with me your
ideas if u have done anything similar of this kind...

Thanks in advance,
Viki



Relevant Pages

  • Re: drag/drop file-icon on tcl-script? on windows
    ... drag a file onto the programs Icon, or it's shortcut, and ... Wrap your script in a batch file. ... start tclkit "%~f0" & exit ... Most people on windows have ActiveState so he's more likely to have ...
    (comp.lang.tcl)
  • Re: Setting Ownership rights on a file?
    ... What I need to do following the copy is to change the Ownership rights on ... the file in the batch file to a specific AD user or perhaps group. ... with Windows. ...
    (microsoft.public.windows.file_system)
  • Re: Make an automatic task?
    ... I wrote the batch file - named the icon do it.bat ... to know about del command. ... Snip your long urls - http://snipurl.com/ ...
    (microsoft.public.windowsxp.customize)
  • Re: Fix for: Server Application Unavailable Error after Applying Security Update for IE
    ... I've run the batch file, and now the login is failing for aspnet. ... > Internet Explorer security patch and ASP.NET V1.0 running on Windows XP. ... > Deletes and recreates the ASPNET account with a known temporary password ... This creates a new random password for the account ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Subst question
    ... > In a batch file, the @ symbol at the beginning of a line will hide the ... which you can see at a command prompt when you type ... > also limit it to one easily if you type in: echo %OS% ... is this say if the OS is NOT Windows NTgo to logoff or IS Windows ...
    (microsoft.public.scripting.vbscript)