ntvdm holding files we want to delete

Posted on 2006-03-22
Last Modified: 2012-06-27
We are using sql agent to run some bats files.  These bat files to some creating and deleting of files.  We are having a problem when those file are said to being held by "ntvdm".  Our bat files work fine from command prompt and they seem to work fine from NT scheduler which we a starting to use.

Has anyone noticed sql agent has any issues with deleting of files thrus bat file?
Question by:seamus2003
    LVL 5

    Expert Comment

    NTVDM would run to allow a DOS program to execute.  Are you running any DOS programs?  Those .BAT files kick off 16-bit DOS apps?  Are any hanging?
    LVL 7

    Accepted Solution

    LVL 16

    Expert Comment

    Tried using he following dyntax

    cmd.exe /K "del c:\temp\*.* /-P"

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
    In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now