Suddenly i got one thing in my mind that most of the win applications like windwos version(winver), calc and all are executable files which will be there in Windows or System32 folder.
Like that, Run Command which we are using Win+R shortcut are also executable file? is this available in anywhere in windows system folder as executable file ?
When i tried to click Open file location, it is opening Desktop. actually Where it is starting from when we click on shortcut ?
No, it's not an exe, it's a shell dialog window that you find in the dynamic link library C:\Windows\System32\shell32.dll
You can call it from VBScript like this:
From JScript like this:
From VB6 like this:
With modern VB.NET, this becomes:
If option strict is "ON", then the way to go is this:
C# Variant:
But you can also call it from a batch-file, if you want to:
or via the Explorer command-line: