Re: del not working in .bat file



"RB Smissaert" <bartsmissaert@xxxxxxxxxxxxxxxx> wrote in message
news:eyVolFODHHA.4508@xxxxxxxxxxxxxxxxxxxx
The file is not Read-Only, the file will be on the normal local C
drive and the file can be deleted manually.
Maybe though the file is still in use by SQLite when the del command
is called.
I don't know how the sequence of commands is in a .bat file.
Could it be that a command is called while the previous line is not
finished yet?

yes, easily. I was reading it as the first del command failing, not the
second

Is there something like a wait or DoEvents in a .bat file?

try running the sqllite command with
start /wait c:\....

I thought the way with WScript was an easy way to run the .bat file
without showing the console.
Yes, maybe I should do away with the .bat file, but it works fine
except on this one machine.
No, I am not running VBS, except for this one call.


--
Reply to the group so all can participate
VB.Net: "Fool me once..."

.



Relevant Pages

  • Re: Cannot Delete Files From FTP Server
    ... I'm not sure the yahoo is 100% at fault. ... posix subsystem and other hardening techniques. ... >>the Command Line DEL command will allow me to delete ... >>DEL command completes without error, ...
    (microsoft.public.inetserver.iis.security)
  • Cannot Delete Files From FTP Server
    ... Never mind...I was able to fix the problem. ... I was able to use the RD /S command to remove the ... >DEL command completes without error, ...
    (microsoft.public.inetserver.iis.security)
  • Cannot Delete Files From FTP Server
    ... priviledges. ... The result now is that the IIS FTPROOT folder ... the Command Line DEL command will allow me to delete these ... DEL command completes without error, ...
    (microsoft.public.inetserver.iis.security)
  • Delete Undeletable CD Burn files
    ... XP copied the files to a buffer ... would casue CHKDSK to abort, backup to abort and XP to ... The trick is to do a "remove directory" command from the ... be much more powerful than the del command. ...
    (microsoft.public.windowsxp.general)
  • Re: Unable to delete file
    ... My post and his reply are not showing up in my newsreader and I ... Try deleting the file from the command prompt with the DEL command: ...
    (microsoft.public.windowsxp.newusers)