{"id":41723,"date":"2003-11-24T10:01:00","date_gmt":"2003-11-24T10:01:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2003\/11\/24\/a-shortcut-to-the-run-dialog\/"},"modified":"2003-11-24T10:01:00","modified_gmt":"2003-11-24T10:01:00","slug":"a-shortcut-to-the-run-dialog","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20031124-00\/?p=41723","title":{"rendered":"A shortcut to the Run dialog"},"content":{"rendered":"<p>\nHere&#8217;s a little script that opens the Run dialog.\nYou can save it as &#8220;Run.js&#8221; and double-click it.\n<\/p>\n<pre>\n(new ActiveXObject(\"Shell.Application\")).FileRun();\n<\/pre>\n<p>\nThe advantage of this approach over various others people have come\nup with is that this one is actually\n<a HREF=\"http:\/\/msdn.microsoft.com\/library\/en-us\/shellcc\/platform\/shell\/reference\/objects\/shell\/filerun.asp\">\ndocumented<\/a>.\n(And therefore is less likely to break in the next version of the\noperating system.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a little script that opens the Run dialog. You can save it as &#8220;Run.js&#8221; and double-click it. (new ActiveXObject(&#8220;Shell.Application&#8221;)).FileRun(); The advantage of this approach over various others people have come up with is that this one is actually documented. (And therefore is less likely to break in the next version of the operating system.)<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[25,104],"class_list":["post-41723","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-code","tag-tipssupport"],"acf":[],"blog_post_summary":"<p>Here&#8217;s a little script that opens the Run dialog. You can save it as &#8220;Run.js&#8221; and double-click it. (new ActiveXObject(&#8220;Shell.Application&#8221;)).FileRun(); The advantage of this approach over various others people have come up with is that this one is actually documented. (And therefore is less likely to break in the next version of the operating system.)<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/41723","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=41723"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/41723\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=41723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=41723"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=41723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}