Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Closed Thread
 
LinkBack (1) Thread Tools Display Modes
Old 26-01-2007, 06:09 PM   1 links from elsewhere to this Post. Click to view. #1 (permalink)
An Esoteric Geek
 
sridatta's Avatar
 
Join Date: Mar 2006
Location: Bangalore
Posts: 286
Default Tutorial: How to Create Command-Line Shortcuts for frequently Accessed folders/files


Hello guyz,

This is a beautiful trick for those who want to prevent their brother/friend from accessing a folder which they often use.Hiding the folder and removing the folder options from the explorer can do this. But, it is annoying to unhide everytime whenever you want to access the folder. Alternate way is to type the full path in windows explorer address bar. This is irksome. So, we can create a shortcut and use command prompt to access the folder. Follow these steps.

Right Click on the Desktop and select New--> ShortCut

In the window, Type the path of the folder in the textbox. suppose say C:\WINDOWS

name the shortcut as something you desired. Suppose i name it as win.

Now, the shortcut is Created for your desired folder. Now, we should access this shortcut through command line. Hence, Copy the shortcut file in c:\windows\system32 directory.

Now, you are done.

Start->Run

Type the name of the shortcut that you saved before and press enter. Now,You will be able to view the contents of the folder.

How to Create Command Line Shortcuts for Control Panel, My Computer and more using the GUIDs :

Create a new shortcut and enter the following in the textbox

explorer ::{21EC2020-3AEA-1069-A2DD-08002B30309D}



name it as cpanel.

Now, copy this to system32 folder. Now, you can just open control panel by typing cpanel from run window.

list of GUIDs:

Control Panel
{21EC2020-3AEA-1069-A2DD-08002B30309D}
Internet Explorer
{FBF23B42-E3F0-101B-8488-00AA003E56F8}
My Documents
{ECF03A32-103D-11d2-854D-006008059367}
Fonts
{BD84B380-8CA2-1069-AB1D-08000948F534}
My Computer
{20D04FE0-3AEA-1069-A2D8-08002B30309D}
My Network Places
{208D2C60-3AEA-1069-A2D7-08002B30309D}
Network Connections
{7007ACC7-3202-11D1-AAD2-00805FC1270E}
Printers and Faxes
{2227A280-3AEA-1069-A2DE-08002B30309D}
Recycle Bin
{645FF040-5081-101B-9F08-00AA002F954E}
Scheduled Tasks
{D6277990-4C6A-11CF-8D87-00AA0060F5BF}

For more GUIDs, refer to this thread
Some CLSIDs. (Of special Folders).


Optional Steps for Hiding the folders:

1. First hide the folder by rightclick --> Properties and select hidden attribute.

2. Remove Folder Options either by Registry or Group Policy

Registry Key:

Navigate to HKCU\Software\Microsoft\Windows\CurrentVersion\Pol icies\Explorer\
Create a DWORD named NoFolderOptions with value 1.

Group Policy:

Navigate to User Configuration\Administrative Templates\Windows Components\Windows Explorer
Disable the folder options by enabling the following setting.
Remove the folder options menu from the tools options.

--------------------------------------END-------------------------------
PS: Please post the comments if any

Last edited by sridatta; 26-01-2007 at 10:06 PM.
sridatta is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 26-01-2007, 06:41 PM   #2 (permalink)
Wise Old Owl
 
Tech Geek's Avatar
 
Join Date: Sep 2006
Location: Cyber Hell
Posts: 1,602
Default Re: Tutorial: How to Create Command-Line Shortcuts for frequently Accessed folders/files

nice tut
__________________
Behind every good computer... is a jumble of wires 'n stuff
Tech Geek is offline  
Old 29-01-2007, 04:21 PM   #3 (permalink)
In The Zone
 
Chetan1991's Avatar
 
Join Date: Jan 2007
Location: Shimla
Posts: 285
Default Re: Tutorial: How to Create Command-Line Shortcuts for frequently Accessed folders/files

Really good!!
especially the codes are helping!

repute me if u like my rep
Chetan1991 is offline  
Old 29-01-2007, 04:28 PM   #4 (permalink)
Šupər♂ - 超人
 
koolbluez's Avatar
 
Join Date: Oct 2004
Location: Look up... up in da sky... see me yet? Nah... Use a telescope, dumbo!
Posts: 1,626
Default Re: Tutorial: How to Create Command-Line Shortcuts for frequently Accessed folders/files

Good one.. although old.

One point to correct. These shortcuts can be directly placed into the Windows directory instead of Windows/System32 directory.

Been doin it for all my major programs. I even have my restart, logoff & shutdown buttons in the windows folder.
Restart shortcut: %windir%\system32\shutdown.exe -r -t 00
Logoff shortcut: %windir%\system32\shutdown.exe -l -t 00
Shutdown shortcut: %windir%\system32\shutdown.exe -s -t 00

One more addition though, some of the more famous software already start from the run prompt itself... all Microsoft programs like calc... , Photoshop, firefox, winrar.

There is also a registry hack for the same.
__________________
Windows ka tashan... koolbluez ishtyle - http://lin.cr/ss
I almost forgot this - http://www.thinkdigit.com/forum/showthread.php?t=6242

Last edited by koolbluez; 29-01-2007 at 04:35 PM.
koolbluez is offline  
Old 29-01-2007, 04:37 PM   #5 (permalink)
An Esoteric Geek
 
sridatta's Avatar
 
Join Date: Mar 2006
Location: Bangalore
Posts: 286
Default Re: Tutorial: How to Create Command-Line Shortcuts for frequently Accessed folders/files

Thanks for the compliments...

@koolbluez.. Thanks for adding this additional info into this thread..
sridatta is offline  
Old 30-01-2007, 08:09 PM   #6 (permalink)
Ron
||uLtiMaTE WinNER||
 
Ron's Avatar
 
Join Date: Nov 2006
Location: Kathmandu,Nepal
Posts: 698
Smile Re: Tutorial: How to Create Command-Line Shortcuts for frequently Accessed folders/fi

Gr8 Post.....

Launch Any Program Directly from Start>RUN

Navigate To
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\App Paths

Now create a new key of program you want to launch, for example ResHack.exe

Now in its Default String Value paste the path

C:\Program Files\reshack\reshack.exe

View This Thread To Secure Your Data
Secure Your Folder!!
__________________
||uLtiMaTE WinNER||

Last edited by Ron; 30-01-2007 at 08:15 PM.
Ron is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.thinkdigit.com/forum/tutorials/47571-tutorial-how-create-command-line-shortcuts-frequently-accessed-folders-files.html
Posted By For Type Date
Welcome to Sridatta's Home Page This thread Refback 26-06-2010 03:49 PM

 
Latest Threads
- by Tenida
- by clinton

Advertisement




All times are GMT +5.5. The time now is 03:46 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2