Visar inlägg med etikett windows. Visa alla inlägg
Visar inlägg med etikett windows. Visa alla inlägg

onsdag 23 maj 2012

Running services and shared folders


Show all services
sc query type= service

All running services
net start

Computers in same network
net view

Shared folders on computer_name
net view \\computer_name /all


tisdag 21 december 2010

DebugView from VB6 and C#

Use System.Diagnostics.Debug.WriteLine() in C# to generate print outs that can be displayed in the excellent tool DebugView.

In VB6, use OutputDebugString().

tisdag 9 november 2010

Command window here

On Windows 7:

Use SHIFT+right_click in Windows Explorer to get a lot more features. For example "Open command window here".

tisdag 2 november 2010

Find crash dump file

On Windows XP Dr Watson is the default tool that generates crash dump files. They are sent to Microsoft if you accept the dialog box after a program crash.

Dr Watson

This is the default location for dump files: C:\Documents and Settings\All Users\Application Data\Microsoft\Dr Watson\user.dmp

To bring up the GUI: drwtsn32.exe

Use Windbg to analyze the crash dump file. Included in Windows SDK, debugging tools. The PDB-files for the crashing app is needed to make any sense of the dump file.a

In Windows 7, Dr Watson is replaced by the Action Center. Use Task Manager and right click on the process and select "Create Dump File".

onsdag 27 oktober 2010

Windows trouble shooter

Here is good help: msconfig.exe

Just enter "msconfig.exe" from Start menu/Run.

onsdag 10 februari 2010

The quick brown fox jumps over the lazy dog

Type the following sentence in MS Word 2007 and hit Enter.

=rand.old(4,5)

tisdag 8 december 2009

DebugView

DebugView is an application that lets you monitor debug output on your local system, or any computer on the network that you can reach via TCP/IP.

http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx

torsdag 12 november 2009

fredag 25 september 2009

Search for files in subdirs

How to search for all Nant build files in sub directories:
>dir /s /b *.build

torsdag 24 september 2009

måndag 21 september 2009

Verify MSI content without installing

msiexec /a foo.msi TARGETDIR="c:\tmp\foo"

onsdag 16 september 2009

Monitor network interfaces and routes

Write at command line:
> route print