I need a batch file that will pull file names, with paths, from a text file; then copy the file to an external drive, then securely delete the file. Everything about this batch file works except sdelete. It throws an error that obviously suggests the path and file name was not enclosed in quotes. As you can see in the batch file, however, it is. The exact same file works perfectly using del instead of sdelete. Any ideas?
@echo off
set Source=D:\files.txt
set Destination=D:\Reclamation
SetLocal EnableDelayedExpansion
for /f "tokens=* delims=" %%a in ('type "%Source%"') do (
IF not exist "