Hi dodicat,dodicat wrote: ↑Jul 07, 2022 12:11 I usually go SNP, or Labour sometimes.
I have a lot of TMP****.bat files building up
Example:
TMP3217.bat
@echo off
C:
cd "C:\Users\Computer\Desktop\fb\code\"
"C:\Users\Computer\Desktop\fb\code\TMP3217.exe"
pause
del "C:\Users\Computer\Desktop\fb\WinFBE_Suite1\WinFBE_Suite\TMP3217.bat" >> nul
--------------------------
OR
-------------------------
@echo off
C:
cd "C:\Users\Computer\Desktop\fb\WinFBE_Suite1\WinFBE_Suite\"
"C:\Users\Computer\Desktop\fb\WinFBE_Suite1\WinFBE_Suite\TMP369B.exe"
pause
del "C:\Users\Computer\Desktop\fb\WinFBE_Suite1\WinFBE_Suite\TMP369B.bat" >> nul
del is not deleting the TMP file.
(I am quick running files using the command window)
I am scanning through older posts and I see that this is the post that you recently mentioned that you did not have a response to. I am trying to understand why you are creating Batch files to run WinFBE's temporarily created exe's from Quick Run (at least that's what I think you are doing?).
WinFBE's Quick Run (Ctrl+Shift+F5) will automatically build and run your displayed code in the editor and then it should automatically delete that temp EXE when that exe closes. I don't see the reason for a batch file.
I assume that your batch files are not being deleted because you are trying to execute a "del" command on a file (the batch file) that is still executing. The batch file is still executing the Del command at the time it is being asked to be deleted. Maybe that's the reason? Not sure. Just off the top of my head.