Link to home
Start Free TrialLog in
Avatar of seamus2003
seamus2003

asked on

ntvdm holding files we want to delete

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?
Avatar of dclive
dclive
Flag of United States of America image

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?
ASKER CERTIFIED SOLUTION
Avatar of sunilcomputer
sunilcomputer
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Joseph Nyaema
Tried using he following dyntax

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