Batchography: Embedding an executable file in a Batch script

batchography-good-resIn this blog post, I am going to share with you a recipe from the Batchography book that illustrates and explains in details how to embed executable files in the Batch file script and execute them after they are dropped.

This technique does not rely on using a polyglot Batch file where its first part is actually a Batch script and the other part is a VBS or JScript script. If you want to learn more about how to write polyglot Batch scripts, please refer to Chapter 4 in the Batchography book.

flower separator

Get the book from Amazon: the print editionbtn-buy-on-amazonor the e-book editionbtn-buy-on-amazon

flower separator

Continue reading “Batchography: Embedding an executable file in a Batch script”

Batchography: Useful keyboard shortcuts for editing and working with the command prompt

batchography-good-res

In the Batchography book, not only you will learn about the command prompt’s keyboard shortcuts, macros and what not, but you will also learn the basic and fundamental topics for programming in the Batch language.

In this blog post, I present to you an excerpt from Chapter 1 in the Batchography book that covers all the useful keyboard shortcuts. My new favorite one is the F11 keyboard shortcut that is present in Windows 10 and up.

Get the book from Amazon: printed editionbtn-buy-on-amazonor the Kindle edition btn-buy-on-amazon. Continue reading “Batchography: Useful keyboard shortcuts for editing and working with the command prompt”

Kindle edition – Batchography: The Art of Batch Files Programming

buy-from-amazon

After one month of releasing the Batchography book, this month I released the e-book Kindle edition.

The benefits of the e-book Kindle edition is that you can buy the book from many countries in just a few clicks: USA, United Kingdom, Germany, France, Spain, Italy, Netherlands, Japan, Brazil, Canada, Mexico, Australia, India.
flower separator
In the Batchography book, you will learn about:

  • The Basic concepts of Batch file scripting
  • Data structures: Arrays, Stacks, Sets, Maps
  • Multiline, compound and conditional statements
  • Function calls and repetition control structures
  • Files and strings manipulation techniques
  • Debugging and troubleshooting tips
  • Coding conventions and testing methodologies

Click here to see full details about the book.

Buy from Amazon: the print bookbtn-buy-on-amazonor the e-book btn-buy-on-amazon

flower separatorYou might also like:

 

WifiPasswordReveal: A script to reveal all the saved WiFi passwords in Windows 7 and above

Hello,

The “How to show saved Windows 7 Wifi passwords” turned out to be a popular article and to make the life of my readers easier, I decided to apply a newly acquired knowledge and write a tool to make it SUPER EASY to get all the saved WiFi passwords without needing administrative privileges and without having to click through various settings dialogs.

Note: In some cases, if the script fails to run, then you may want to run the script as administrator.

Read on! or download the script. Continue reading “WifiPasswordReveal: A script to reveal all the saved WiFi passwords in Windows 7 and above”

Introducing the “Batchography: The Art of Batch Files Programming” book

buy-from-amazonLong gone are the days when you had to use search engines to jump from one website to another in order to figure out the syntax or how to solve a problem using a Batch file script. The Batchography book is a boon for system administrators, build engineers, programmers and home users alike. It takes you on a journey of re-discovery of the lost art of Batch files programming. Whether you are an experienced user or new to the language, you will be surprised by the clarity and the abundance of the material presented in this book. With more than 140 scripting recipes, you will learn about things that you never thought were possible to achieve using the Batch files scripting language.

In the Batchography book, you will learn about:

  • The Basic concepts of Batch file scripting
  • Data structures: Arrays, Stacks, Sets, Maps
  • Multiline, compound and conditional statements
  • Function calls and repetition control structures
  • Files and strings manipulation techniques
  • Debugging and troubleshooting tips
  • Coding conventions and testing methodologies

Buy from Amazon: