How can I open Windows Explorer to a certain directory from within a WPF app?
Why not Process.Start(@”c:\test”);?
Why not Process.Start(@”c:\test”);?
Here is an alternate way with nircmd util from http://www.nirsoft.net/utils/nircmd.html Examples: nircmd win move ititle “cmd.exe” 5 5 10 10 nircmd win setsize ititle “cmd.exe” 30 30 100 200 nircmd cmdwait 1000 win setsize ititle “cmd.exe” 30 30 1000 600 Here are the contents of SetEnv.cmd: Explorer /n,c:\develop\jboss-4.2.3.GA\server\default\deploy nircmd wait 1000 win setsize ititle “something” … Read more
Step 1. On your desktop right click “New”->”Text Document” with name OpenGitBash.reg Step 2. Right click the file and choose “Edit” Step 3. Copy-paste the code below, save and close the file Step 4. Execute the file by double clicking it Note: You need administrator permission to write to the registry. Windows Registry Editor Version … Read more
I am aware of two ways to do it. The fancy way is to write a windows shell extension, which is how powerarchiver, winzip etc do it I believe (this involves running code to determine what the context menu items will be dependent on the file chosen). The simple way, for simple functionality, is you … Read more
Sure. From a mindless technology article called “Make Python Scripts Droppable in Windows”, you can add a drop handler by adding a registry key: Here’s a registry import file that you can use to do this. Copy the following into a .reg file and run it (Make sure that your .py extensions are mapped to … Read more