Send Folder Rename Command to Windows Explorer

前端 未结 2 1775
既然无缘
既然无缘 2021-01-20 11:37

I have a shell extension made in .NET that creates folders (think of it as a context menu New -> New Folder option clone) and uses a InputBox to input the name of the folder

2条回答
  •  不思量自难忘°
    2021-01-20 12:08

    This is kind of an indirect approach, but you can use the SendKeys function in order to send the F2 key to the currently open windows explorer window, and then simulate the typing of the desired folder name and send the Enter key.

提交回复
热议问题