Jump to content

Recommended Posts

Posted

This function simply find what file will launch when you just type the file name in command line. It match file extension defined in %PATHEXT% and search in working directory and %PATH%.

This is a my new trial of binary code. Obviously, this function need windows API, but you can't find any API except CallWindowProc. In fact, the binary code locate and store API address by itself, even on different system.

I already tested on winxp and win7. If it crash on some system, please let me know, thanks.

  Reveal hidden contents

新版 _ArrayAdd 的白痴作者,不管是誰,去死一死好了

 

Posted (edited)

What about PathSearchAndQualify()?

#Include <WinAPIEx.au3>
 
ConsoleWrite(_WinAPI_PathSearchAndQualify('cmd.exe', 1) & @CR)
ConsoleWrite(_WinAPI_PathSearchAndQualify('notepad.exe', 1) & @CR)
ConsoleWrite(_WinAPI_PathSearchAndQualify('explorer.exe', 1) & @CR)
ConsoleWrite(_WinAPI_PathSearchAndQualify('services.exe', 1) & @CR)
Edited by Yashied

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...