Go Back   Digit's Technology Discussion Forum > Community > Tutorials

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26-01-2007, 06:09 PM
sridatta's Avatar
sridatta sridatta is offline
An Esoteric Geek
 
Join Date: Mar 2006
Location: Bangalore
Posts: 285
Send a message via Yahoo to sridatta
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
http://www.thinkdigit.com/forum/showthread.php?t=47494


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.
Reply With Quote
  #2  
Old 26-01-2007, 06:41 PM
Tech Geek's Avatar
Tech Geek Tech Geek is offline
Wise Old Owl
 
Join Date: Sep 2006
Location: Cyber Hell
Posts: 1,495
Send a message via Yahoo to Tech Geek
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
Reply With Quote
  #3  
Old 29-01-2007, 04:21 PM
Chetan1991's Avatar
Chetan1991 Chetan1991 is offline
Broken In
 
Join Date: Jan 2007
Location: Shimla
Posts: 164
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
Reply With Quote
  #4  
Old 29-01-2007, 04:28 PM
koolbluez's Avatar
koolbluez koolbluez is offline
Šupər♂ - 超人
 
Join Date: Oct 2004
Location: Look up... up in da sky... see me yet? Nah... Use a telescope, dumbo!
Posts: 1,600
Send a message via Yahoo to koolbluez
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.
Reply With Quote
  #5  
Old 29-01-2007, 04:37 PM
sridatta's Avatar
sridatta sridatta is offline
An Esoteric Geek
 
Join Date: Mar 2006
Location: Bangalore
Posts: 285
Send a message via Yahoo to sridatta
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..
Reply With Quote
  #6  
Old 30-01-2007, 08:09 PM
Ron's Avatar
Ron Ron is offline
||uLtiMaTE WinNER||
 
Join Date: Nov 2006
Location: Holiday
Posts: 649
Send a message via MSN to Ron
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
http://www.thinkdigit.com/forum/showthread.php?t=45998
__________________
||uLtiMaTE WinNER||

Last edited by Ron; 30-01-2007 at 08:15 PM.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump





Upcoming Events

Thinkdigit  
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.