Posts

Showing posts from May, 2006

websites

i will put here interesting sites with description

registry tweaks

every now and then I need some Windows tweaks. i''ll put here all the things i need. here's the first ones: make OutlookExpress independent from Messenger (restart: no) Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Outlook Express] "Hide Messenger"=dword:00000002 Add 'Explore from here' to Windows folders(restart: no) Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\Command] @="CommandPrompt" [HKEY_CLASSES_ROOT\Directory\shell\Command\command] @="cmd.exe /k cd \"%1\"" matching file names each time you press TAB in cmd. works in XP but doesnt by default on Win2000 Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Command processor] "CompletionChar"=dword:00000009

windows install date

useful when u need something unique from the PC and easy to get HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion installdate value InstallDate REG_DWORD Time (in seconds) since 12:00 A.M, January 1, 1970 here's a VBS script which displays the info: Dim WshShell, TimeStampSet WshShell = WScript.CreateObject("WScript.Shell")TimeStamp = WshShell.RegRead(_"HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\installdate")WScript.Echo "Install date :" & _DateAdd("s", TimeStamp, DateSerial(1970, 1, 1))

before debugging ...

.. you need to make sure you have the right pdb on microsoft website there is a debugging package(holding WinDbg and other debugging tools) which has a tool called SymChk which can be used to bring the right pdb files from microsoft website. the tool reads the version of your dll and exe files and tries to find the corresponding pdb for that version. C:\Program Files\Debugging Tools for Windows>symchk /r c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 /S srv*c:\dbg\symbols\*http://msdl.microsoft.com/download/symbols /r tells symchk to look in the 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322' path and in all subdirectories in it /s Specifies the directories containing symbols c:\dbg\symbols\ is the location where the symbols are downloaded if you need a specific DLL file to get symbol for, you can use this (for ole32.dll for example) symchk c:\WINDOWS\system32\ole32.dll /S srv*c:\dbg\symbols\*http://msdl.microsoft.com/download/symbols Now, in WinDbg you can set in File menu the