Hi
not sure what you want to execute.
I use this to delete Files from the Folder
Code:Dim strcommand As String strcommand = "del E:\MoveBackup /s /f /q " 'write to Textfile what was deleted Shell("cmd.exe /c " & strcommand & "> ""E:\LogDeletedFiles.txt""")




Reply With Quote
