Thursday, April 14, 2005

Start Cmd.Exe by right-clicking explorer

Link to page where found:
https://secure.codeproject.com/shell/commandprompt.asp

This page has tremendous information on dealing with the Windows Shell & extensions as related to starting cmd.exe from explorer

and, because links tend to break - an excpert

Selecting this entry will open a DOS prompt with its current directory set to the folder you just right-clicked.
  1. Open your registry (regedit)

  2. Go to the following key: HKEY_CLASSES_ROOT\Folder\shell
  3. Add this key: CmdPrompt and set its default value to: "Command Prompt"
  4. Under this new key, add the following key: Command and set its default value to: "c:\winnt\system32\cmd.exe"

You should now have this tree in your registry:

That's it. Now, whenever you will right-click on a folder, the pop-up menu will contain an entry called "Command Prompt".

Tuesday, April 12, 2005

Great spot to download individual Windows 2000 resource kit tools

http://www.petri.co.il/download_free_reskit_tools.htm

A better way is to use the Forfiles tool, which you can find in the Windows resource kits. Forfiles lets you perform a date-based deletion. Here's a sample command:

Forfiles -p R:\MyFiles -s -m *.*
-d -365 -c "Cmd /C Echo
0x22@Path\@File0x22"
article on how to delete old files:
http://www.windowsitpro.com/Article/ArticleID/44891/44891.html

DBT-50000 when using DBCA.bat on Windows (Oracle 19.11)

I’ve been having some trouble getting DBCA to run in order to create databases. Thought I’d share it with you, and thus document it for la...