ildasm.exe, the Microsoft .Net Intermediate Language Disassembler, is usually found in your Visual Studio SDK folder (which would have been created when you installed Visual Studio on your developer machine).
.Net 3.5 – The default installation would have placed the ildasm executable in the following folder.
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
.Net 2.0 – The default installation would have placed the ildasm executable in the following folder
C:\Program Files\Microsoft.NET\FrameworkSDK\bin
If you open a Visual Studio version Command Prompt window and type ildasm, it should work. However, if it doesn’t or if you are more used to doing stuff in the regular command prompt window, then the best way to save time wasted in searching for this exe everytime is, to first locate it one time by doing a search for “ildasm.exe” under your “Program Files” folder, and then adding the path to the bin directory where the exe is located in your environment’s PATH variable.
This way, you can run ildasm.exe from any command prompt in the future.
Further Reading