Ok now you can see when it's done it just does not close, this is after 1 day where it has run 2 times (every 12 hours), but after 3 days you will have 6 flashfxp windows open which are all not closed...
This is run with the command line above from a batch file... Which transfers all files from one server to another server 2 times a day...
DATABASE BACKUP:
FOR /F "tokens=1-4 delims=/ " %%I IN ('DATE /t') DO SET mydate=%%L-%%J-%%K
FOR /F "tokens=1-3 delims=:, " %%I IN ('TIME /t') DO SET mytime=%%I-%%J-%%K
ECHO The value is "%mydate%-%mytime%"
net stop mysql
xcopy C:\Progra~1\Apache~1\MySQL\data E:\Backups\%mydate%-%mytime%\ /E /Y
net start mysql
rmdir /S /Q D:\Websites\Z2
xcopy E:\Backups\%mydate%-%mytime% D:\Websites\Z2\ /E /Y
rmdir /S /Q E:\Websites\Z2
xcopy E:\Backups\%mydate%-%mytime% E:\Websites\Z2\ /E /Y
"C:\Program Files\FlashFXP\flashfxp.exe" -go -tray -lock -pass="pw" -savequeque -c2 backup.fqf
|