Need Commands for Special Folders

Discuss and share scripts and script files...
Post Reply
arirish
Posts: 93
Joined: 13 May 2008 13:52

Need Commands for Special Folders

Post 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.

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Need Commands for Special Folders

Post 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;
To see the attached files, you need to log into the forum.
Last edited by Stefan on 10 May 2010 09:12, edited 1 time in total.

arirish
Posts: 93
Joined: 13 May 2008 13:52

Re: Need Commands for Special Folders

Post 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?

admin
Site Admin
Posts: 66249
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Need Commands for Special Folders

Post 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...

arirish
Posts: 93
Joined: 13 May 2008 13:52

Re: Need Commands for Special Folders

Post 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?

admin
Site Admin
Posts: 66249
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Need Commands for Special Folders

Post 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}";

arirish
Posts: 93
Joined: 13 May 2008 13:52

Re: Need Commands for Special Folders

Post by arirish »

Ah, got it! Thanks :)

Post Reply