There is a simple way to do it in powershell (at least) :
$o = new-object -com shell.application
$o.Namespace('c:\My Folder').Self.InvokeVerb("pintohome")
Hope it helps.
More Related Contents:
- GetWindowRect returns a size including “invisible” borders
- Can DPI scaling be enabled/disabled programmatically on a per-session basis?
- How do you set the glass blend colour on Windows 10?
- How to create virtual webcam in Windows 10?
- Exporting functions from a DLL with dllexport
- How can a Win32 process get the pid of its parent?
- How do I send key strokes to a window without having to activate it using Windows API?
- How to write hello world in assembler under Windows?
- Show touch keyboard (TabTip.exe) in Windows 10 Anniversary edition
- Does Windows 7 restrict folder access as Vista does?
- What is the difference between the `A` and `W` functions in the Win32 API?
- Creating a thread in DllMain?
- Vista/7: How to get glass color?
- Programmatic control of virtual desktops in Windows 10
- How can I mute/unmute my sound from PowerShell
- Is it a bug to pass a single-element array to SendInput?
- Building libcurl with SSL support on Windows
- Removing window border?
- Alignment requirements for atomic x86 instructions vs. MS’s InterlockedCompareExchange documentation?
- What’s the differences between VirtualAlloc and HeapAlloc?
- Win32: full-screen and hiding taskbar
- How to make a keyboard hook global across processes
- How do I detect the DLLs required by an application?
- How to write hello world in assembly under Windows?
- How to gracefully terminate a process?
- How do I find position of a Win32 control/window relative to its parent window?
- Programmatically prevent Windows screensaver from starting
- How do I capture the audio that is being played?
- Is there a Windows equivalent of nanosleep?
- Detect external display being connected or removed under Windows 7