Ӕ Central

Welcome to the hidden lair of AE Central. From cars and beer to hardcore software development, you might find interesting topics in all areas. Feel free to browse!
Home

To menu | To search

Development

Programming, scripting. Code snips of my latest and greatest achievements.

Entries feed Comments feed

Multi-threaded port scanning in Delphi

, 20:41

Delphi 7There were several times when my team had to do a port scan in a commercial environment to discover rouge or lingering devices on the network. I always had troubles finding a portable, commercial-free, easy-to-use, fast and trusted application so I decided to write my own.

Continue reading...

Delphi hexadecimal operations

, 09:41

Delphi 7I was recently working on a project where I had to work with huge numbers (>32 hexadecimal digits). Since not even the largest integer type was able to hold these, I had to come up with a solution to be able to do arithmetic functions on them.

Continue reading...

Delphi 7 and Windows 10

, 18:37

Delphi 7I recently managed to crash my development machine so hard that not even a recovery was possible. After the OS the next thing to install was Delphi 7 and I had to face with the usual compatibility issues.
Had enough of researching, it's time to put all necessary steps at one place to make this 15-year-old software to work on a modern system, like Windows 10!

Continue reading...

Windows Batch Scripting - Elevate.cmd

, 11:34

ScriptingI already made this mistake several times. UAC is turned on and I launch a Command Prompt to perform some activities. However, some actions will eventually fail as we don't have Administrative privileges.
In the past I launched a new Command Prompt (elevated, this time) and navigated back to the original folder to try again. Today I proudly present a script, which will do this for you!

Continue reading...

Windows Batch Scripting - Counting Gigabytes

, 23:34

command prompt.png
Recently I was assigned to a task where I had to collect folder sizes (and do some math with them) on large number of servers. Talking about real file servers I quickly met the famous "Invalid number.  Numbers are limited to 32-bits of precision." message. Here's how I solved it.

Continue reading...

Windows Batch Scripting - Displaying lines

, 12:50

command_prompt.pngProviding feedback for the user about the status of our scripts is really important. We would like to know if everything is fine - or if not, why? Let me show you some tricks which can take the well-known ECHO command a little bit further!

Continue reading...