I wrote following reg file inorder to delete files/folders securely.
Cmd working as expected. But sometimes I would like to see result of it (I do not want to disappare of cmd window)
How can I pause / wait / stop before windows disappared
"D:\Desktop\_NotUse\SDelete\sdelete.exe -s -p 5 \"%1\"" /pause did not work.
Here is my registry file.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\SDelete]
@="Secure Delete File"
"Icon"="imageres.dll,-89"
[HKEY_CLASSES_ROOT\*\shell\SDelete\Command]
@="D:\\Desktop\\_NotUse\\SDelete\\sdelete.exe -p 5 \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell\SDelete Directory]
@="Secure Delete Folder"
"Icon"="imageres.dll,-89"
[HKEY_CLASSES_ROOT\Directory\shell\SDelete Directory\command]
@="D:\\Desktop\\_NotUse\\SDelete\\sdelete.exe -s -p 5 \"%1\""
Sdelete doesn't have a pause command. You'll need to run it with a program that doesn't exit so console stays open.
See
cmd /?
eg
or