runmenu: Runs Windows Explorer context menu commands on files and folders.
runmenu [/list | /exec:cmd | /verb:name | /show | /showfiles]
[/wait: [process | thread | window]]
[/keys: [ctrl | shift]]
[/ext] [/nogui]
[/all] [/justfiles] [/justfolders]
[/verbose] file and/or folder names
runmenu [/? | /version]
/list Lists the context menu items available for all the objects
you passed to runmenu. Use /list to determine the commands
and verbs you can use with /exec and /verb.
/exec: Executes the context menu item indicated by "cmd".
cmd Names a command as it appears on the context menu. Menu
"paths" involving submenus use the backslash as the
separator.
/verb: Executes the verb indicated by "name".
name Names a verb corresponding to a context menu item. Not all
menu items define verbs.
/show Shows the context menu and allows you to choose from it
as if you had opened it in Windows Explorer.
/showfiles Prints the names of files and folders that would have been
operated on had the command been run.
/wait: Causes runmenu to wait until the condition indicated by its
argument is satisfied. You can combine multiple conditions
in one /wait option by joining them with the + sign,
except that "thread' and "window" cannot be combined.
You can also use multiple /wait options subject to this
restriction.
process Waits for processes launched by the context menu
handler to exit.
thread Waits for threads started by the context menu handler
to exit. Use with caution, because some handlers create
threads that never exit. The "window" option is often
the more suitable choice.
window Waits for windows created by the context menu handler
to close.
/keys: Causes the context menu command to think the indicated keys
were pressed. This can be used to modify the behavior of
certain commands like "Delete", which normally deletes to
the recycle bin but permanently deletes if Shift is pressed.
You can combine multiple keys in one /keys option by
separating them with the + sign.
ctrl Simulates pressing of the Ctrl key.
shift Simulates pressing of the Shift key.
/ext Includes the "extended verbs" on the context menu. In
Windows Explorer, they appear when you hold down Shift
as you right-click a file or folder.
/nogui Prevents some context menu commands from displaying interface
elements like error boxes.
/all Causes wildcard expansion to find Hidden and System
files and folders.
/justfiles Causes wildcard expansion to find files only.
/justfolders Causes wildcard expansion to find folders only.
/verbose Prints a log of interesting events.
/version Prints the program version and copyright information.
/? Prints this usage information.
You must use exactly one of /list, /exec, /verb, /show, /showfiles,
/?, and /version.
If the usage info doesn't fit in the window, scroll back or try:
runmenu /? | more
欢迎光临 批处理之家 (http://www.bathome.net/) | Powered by Discuz! 7.2 |