Page 1 of 1
Need Commands for Special Folders
Posted: 09 May 2010 02:49
by arirish
First off, please excuse me if I've used the wrong terminology in my title at all, but I hope I can explain clearly what I'm looking for regardless.
Basically I need commands (or functions??) which will open the following locations/dialogs (in XP):
The Run dialog
The Printers & Faxes window
The Network Connections window
I realise a) it may not be possible to open said windows in XYplorer itself, so WE is fine, and b) that I have Run dialog functionality in the addressbar, but I would still like to know if I can do this.
Thanks in advance.
Re: Need Commands for Special Folders
Posted: 09 May 2010 07:40
by Stefan
the_hyrax_lord wrote:Basically I need commands (or functions??) which will open the following locations/dialogs (in XP):
The Run dialog
Hmm, don't know.
Use an VBScript with sendkeys Win+R
I have compiled an AutoHotkey script to exe to do just this (send #r)
Call_RunAs-Dialog_0.01_nonupx.zip
If you want you can try my independent stand-alone AHK RunAsTool
RunAsTool_0.04_001.PNG
The Printers & Faxes window
::{2227a280-3aea-1069-a2de-08002b30309d}
http://www.windowsitpro.com/article/tip ... keys-.aspx
The Network Connections window
Tools > Tools Special > Map Network Drive
or
::#644;
Re: Need Commands for Special Folders
Posted: 09 May 2010 18:08
by arirish
Hmm, thanks, but none of those seem to do the trick. The Printers thing is some sort of registry key (not sure how I'd use that in a script), and the Map Network Drives isn't what I wanted - it's the Network Connections folder which is accessed through the Control Panel.
As for the Run thing... I may give that a try later, I'd rather not download anything new. Is it possible to simulate keypresses with scripting?
Re: Need Commands for Special Folders
Posted: 09 May 2010 18:17
by admin
the_hyrax_lord wrote:Hmm, thanks, but none of those seem to do the trick. The Printers thing is some sort of registry key (not sure how I'd use that in a script), and the Map Network Drives isn't what I wanted - it's the Network Connections folder which is accessed through the Control Panel.
As for the Run thing... I may give that a try later, I'd rather not download anything new. Is it possible to simulate keypresses with scripting?
Network Connections folder: enter this through the address bar:
::{7007acc7-3202-11d1-aad2-00805fc1270e}
You can find more of these things in the web...
Re: Need Commands for Special Folders
Posted: 09 May 2010 18:53
by arirish
Thanks, I see they work through the AB, but I'm trying to put them in a CTB menu... how would I get that to work?
Re: Need Commands for Special Folders
Posted: 09 May 2010 19:22
by admin
the_hyrax_lord wrote:Thanks, I see they work through the AB, but I'm trying to put them in a CTB menu... how would I get that to work?
In a script you would do:
Code: Select all
goto "::{7007acc7-3202-11d1-aad2-00805fc1270e}";
Re: Need Commands for Special Folders
Posted: 09 May 2010 20:36
by arirish
Ah, got it! Thanks
