Sometimes, you can also use the Debug utility to locate information in data files or make quick fixes
to damaged data files. Most people refer to this other use for Debug as hex (short for hexadecimal)
editing. However, the Debug utility interface is archaic and many people find it hard to use. If you
need low-level access to files regularly, you might want to invest in a third-party utility for the task
such as XVI32 (see the ???Using XVI32 to View Files in Depth??? section of Chapter 22 for details). This
utility uses the following syntax:
DEBUG [[drive:][path]filename [testfile-parameters]]
The following list describes each of the command line arguments.
[drive:][path]filename Specifies the name of the file that you want to view, edit, or debug.
testfile-parameters Specifies the command line arguments required by the application
you want to test. You never use this second argument to simply view or edit a file.
Converting Executables with the Exe2Bin Utility
The Exe2Bin utility converts an application from the Portable Executable (PE) format to the binary
format. The main difference is in how the executable loads. At some time in the past, you needed
to use this utility quite often to convert executable files because the linkers of the time didn??™t provide
the required functionality, but now it??™s a relic that you might never use.
Pages:
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351