Clip.exe accepts parameters via pipe.
This command below uses type command and pipe to clip.exe to
clear the clipboard.
cmd /c "type | clip"
Or you can pipe some other exe command line to clear the
clipboard like:
svchost | clip
sndvol | clip
Sndvol will launch the volume mixer and at the same time
clears the clipboard, while svchost.exe pipe to clip.exe will also clears the
clipboard.
Command above can be type on the “run box”, press “windows
key + r” to launch “run window” and type the command line. Or just open a
command prompt and type those command.
Or see picture below for the run box window.
It can also be save as batch file script and save to desktop
for easy access.
To make a batch file, just open notepad and type the command
and save notepad as batch file script with .bat extension like “clipboard_clear.bat”
And tsdicon command, is a command line that will disconnect a
user session but if it is pipe to clip.exe.
It will disconnect the session and at the same times clears
the clipboard.
"tsdiscon | clip" - Disconnect the system and
clears the clipboard.
Comments
Post a Comment