majkinetor / posh

Powershell modules and functions by majkinetor
GNU General Public License v2.0
81 stars 12 forks source link

Shell context menu #2

Open majkinetor opened 9 years ago

majkinetor commented 9 years ago

See code in http://www.maddogsw.com/cmdutils/context

majkinetor commented 8 years ago

ContextMenu (context.exe), which displays the shell context menu for the specified file(s); from here, with one more step, you can get Properties, Quick View, or any other supported action for the specified file(s). Bin (bin.exe), which manipulates the recycle bin. Caveat: it uses Windows functions that are not available unless you have Internet Explorer 4.0, Win98, or WinNT 5.0, and under Win98 they appear to be a bit buggy. So you can't even use bin unless you're running one of these recent Windows versions, and even then, if you run "bin /empty" and then cancel, "bin /size" may report that the bin is empty but this is not true, and "bin /empty" may not do anything at all. However "bin /empty /force" will still empty the recycle bin. This appears to be Windows' fault.

cmdutils.zip