Trick to find is the user using 32-bit or 64-bit OS

When you create your own program or you make crack for software so you must need to confirm which operating system the user is using ? I have an amazing trick to find that the user is using 64-bit or 32-bit.

Open Notepad and write the following code.

@echo OFF
@cls
if defined ProgramFiles(x86) (
@echo 64-bit Machine

) else (
@echo 32-bit Machine
)

pause

and save it as check_os.bat and then open it.
This simple program is a prototype of how you can find the type of operating system, at the place where I have printed machine type, there you can keep any of your command you want to compile at this time.

This program can also be made in C, C++ and also in any other programming language.

To download batch source and C code click on this link:  DOWNLOAD HERE

Post By Sayed Hussain Mehdi
Administrator at RootedH.com

Post a Comment

0 Comments