How do you count the lines of code in a Visual Studio solution?

Is it possible to find the number of lines of code in an entire solution? I've heard of <a href="http://www.mztools.com/index.aspx">MZ-Tools</a>, but is there an open source equivalent?

PE - DOS signature (MZ) and Little Endian

this is not a serious problem but I am curious why DOS signature is 0x5A4D not 0x4D5A DOS Header's first member is MZ which is DOS signature named by Mark Zbikowski. Below code is the part of DOS...

reading executable until next MZ

I can easily read an entire executable file, or however many bytes I'd like to read via defining the size but what about if I want to read it from the beginning up until the next "MZ" ? if 2 files...

How to differentiate 16 bit MZ and 32 bit MZ

I need to differentiate a 32 bit PE from a 16 bit DOS MZ. What is the correct way to do it? I can use heuristics like looking for the PE header, but I feel like it's not necessarily deterministic

VBA error handling and MZ-tools

Thanks to reading about error handling on <a href="https://stackoverflow.com/questions/357822/ms-access-vba-and-error-handling">StackOverflow</a>, I discovered Mz-Tools. However, I am wondering if...

How to merge the close values (mz) in the column , subgroup the mz column

I request how to merge the close values (mz) in the column (difference smaller than 20), subgroup the mz column and then calculate the average value? for examples. mz1 &lt;- c(seq(100, 190, by...

old-school Hungarian Notation "mz" prefix

Every so often, I need to dig into older APIs, and I keep running across functions with an "mz" prefix for API calls. (Example, functions like mzListDocuments() I'm just curious what this "mz"...

Will Scalable font work in Zebra MZ 320 printer

I am using CPCL commands to print labels in Zebra MZ 320 Printer. I want to use SCALABLE_TEXT command in my CPCL code. But the printer doesn't print anything. Will SCALABLE-TEXT command work in...

What kind of character is "MZ" (unexpected token)?

I've got a program which is supposed to open files of a custom file type using file association. When doing it from inside the program, it does work correctly. But trying "Open with..." gives me...

Print with the zebra mz 220 using android

I am learning to use my MZ 220 zebra printer, i already printed a few words using the zebra setup utilities, but i need to print using android and bluetooth and i dont get it how to make it...

Socket data transfer, "MZ" Appended to buffer? C++ / Java

I'm sending a file from Server (Java) to client (C++). While everywhere else the data is recevied just fine. In this area, Sometimes there is "MZ[]" appended to the filename. Here is the Receving...

Why is the MZ DOS Header Signature 0x54AD in PE files?

I have recently started with the PE(Portable Executable) file format, more specifically PE/COFF. I was reading a tutorial by Randy Kath here. When I was reading through the structure of MZ DOS...

x86 segmentation, DOS, MZ file format, and disassembling

I'm disassembling "Test Drive III". It's a 1990 DOS game. The *.EXE has MZ format. I've never dealt with segmentation or DOS, so I would be grateful if you answered some of my questions. 1) The...

Reading debug information from DOS MZ executable

I am trying to write an 8086 emulator + debugger. There is a lot information about writing first one, but nothing about second one. I need to read debug information that TASM includes in an MZ...

Why reading EXE as text is showing 'MZ' when printed

String inputFile = &quot;C:\\Users\\Neil\\Desktop\\DCR\\file.exe&quot;; Byte[] bytes = File.ReadAllBytes(inputFile); String content =...

What is the MZ signature in a PE file for?

I'm working on a program that will parse a PE object for various pieces of information. Reading the specifications though, I cannot find out why the MZ bytes are there, as I cannot find this on...

Determine where MZ exe ends, and LE/LX/PE starts

I wonder what's the best way to determine where the MZ part of an EXE file ends, and the attached extended executable starts (can be PE/LE/LX/NE/COFF etc ...). I found this website:...

PowerShell script to identify hiding (MZ) executables via inspection - Errors

I was searching the web for examples to identify hiding DLLs and EXEs given a specified directory. I came across the following code and decided to give it a shot as it seemed to be exactly what I...

How do I connect a Zebra MZ-220 printer to a Symbol MC-7095?

I have a Symbol MC7095 with a windows mobile 5.0 operating system and a Zebra MZ 220 printer. Both have bluetooth. Where can I find the driver for the MZ 220 for a win 5.0 operating system? Or is...

How to identify end of code segment in MZ exe file?

I have written disassembler for my computer architecture classes and I was wondering if there was any way of knowing where does code segment ends and data segment begins in MZ Exe DOS files (x8086...

How to place Sub or Function headers inside of the routine using MZ-Tools

I noticed that many SO users are running MZ-Tools, so I figured I would give it a shot. I just installed MZ-Tools 8.0 and I'm playing with the Insert Headers tool. The tool inserts the header text...

CPCL command not working with Zebra printer iMZ320 but work with MZ 320

The CPCL command which is use to communicate with Zebra Printer MZ 320 is not working with iMZ 320 model. Following is the CPCL command used: Works with MZ 320 but not with iMZ 320 var testPrint...

Can DOS MZ binaries have VERSIONINFO metadata at all?

I was under impression what VERSIONINFO resource is a purely Windows invention, however while reading documentation, I stumbled upon VOS_DOS possible value of fileos parameter of VERSIONINFO...

Can not use the methods to connect printer Zebra MZ 220

I have the following code to print in my zebra mz 220 using my android 2.3.7: public class Printing extends Activity { ProgressDialog dialog; ZebraPrinterConnection...

File is not a portable executable. DOS header does not contain 'MZ' signature

When i open a Assembly-CSharp.dll in NET Reflector 8.4 from Unity 3D games, it say that the DOS header does not contain 'MZ' Signature. i'm really sure it is C# language. most of Unity 3D games...

why I am getting "invalid command name "MZ"" on loading a dll on wish console?

I have a library and I have generated tcl bindings for the same using swig. The dll thus generated is xyz_tcl.dll if my original lib dll us xyz.dll. but when I try to load the dll its says...

cannot find module 'mz/child_process' nodejs

I build electron app named: Chat with MQTT mosca broker with electron-packager module, but notice as pictured

How to send a Font File to a Zebra Printer (MZ 220) via .Net SDK?

I have to send custom Font Files to a Zebra MZ 220 Printer via C# and the Zebra .Net SDK. That SDK provides a SendFile() Method and it works with template Files percectly but whenever I send a...

Syntax error at token MZ using ilasm

I have a prebuilt dll assembly that I am trying to use. It is a winforms library and when I reference it I can use it in the designer/code without error. When I run it I get: >Assembly generation...

Run commands in terminal via python

I have this python script(discord.py): elif message.content.startswith(&#39;/mz stop&#39;): for line in os.popen(&quot;ps ax | grep /MYSCRIPT | grep -v grep&quot;): fields =...