Welcome to Technology Talks

Technology TALKS mainly provides article on Computer Tips & Tricks, Softwares,useful websites, tutorials. The aim of is Technology TALKS is to experimenting all hacks that you can do your PC.This blog contains a very huge collection of computer articles covering, Internet, real time technology updates, Tips, Tricks,Utilities,Windows Hacks,Linux,Security and lot more….

Adding the Command Prompt to your Shortcut Menu  (Win2k/XP)
By Kumar Gaurav,B.Tech(E.C.E),New Delhi.




If you find that you frequently open a Command Prompt window and change to a specific directory, you can add the Command Prompt to your shortcut menu in Windows Explorer. This option enables you to right-click on a folder within
Windows Explorer and choose the Command Prompt option. Windows 2000 will then open a Command Prompt window with that folder as your current directory.

To add a Command Prompt option to your shortcut menu:

  1.  begin by creating a batch file. In our example, we created a batch file named StartPrompt.cmd. Add the
    following commands to your batch file:

    @echo off
    cd /d %1
    Title %~f1
                         
  2. Save this batch file to your Windows 2000 directory (usually C:\WINNT).                     
  3. Next, open Windows Explorer.                     
  4. Choose Tools | Folder Options to display the Folder Options dialog box.                     
  5. Select the File Types tab.                     
  6. In the list of Registered File Types, select Folder.                     
  7. Click Edit to edit the file types associated with the folder.                     
  8. Next, click Advanced to display the Edit File Type dialog box                     
  9. Then click New to display the New Action dialog box.                     
  10. In the Action text box, type Command Prompt.                     
  11. In the Application Used To Perform Action text box, type:

    cmd.exe /a /k c:\winnt\StartPrompt "%l"
                         
  12. Click OK to close the New Action dialog box                     
  13. Then click OK to close the Edit File dialog box.                     
  14. Finally, click Close to close Folder Options.

    Now you're all set. In Windows Explorer, right-click on a folder. You should now
    see a new option called Command Prompt on the shortcut menu. If you choose this
    option, Windows 2000 opens a new Command Prompt window with the selected folder
    as your current folder.

0 comments

Post a Comment

Featured Video :Ghost Recon Future Soldier

SUBSCRIBE TO TECHNOLOGY TALKS FOR FREE

Enter your email address:

Delivered by FeedBurner

The TOP Windows XP Tricks & Secrets!!