Announcement

Collapse
No announcement yet.

How to run a password protected SFX .exe file?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to run a password protected SFX .exe file?

    I need to run an SFX file that is password protected, is there a way to insert the password? If anyone knows I would appreciate


    File = MyFile.exe
    Password = 123


    This opens the file but I can't find information about it to add the password
    PHP Code:
    File.Run("AutoPlay\\Docs\\MyFile.exe"""""SW_SHOWNORMALfalse); 

  • #2
    Try this

    Code:
    File.Run("AutoPlay\\Docs\\MyFilel.exe"," -p123", "", SW_SHOWNORMAL, false);
    Cheers

    Comment


    • #3
      Originally posted by colc View Post
      Try this

      Code:
      File.Run("AutoPlay\\Docs\\MyFilel.exe"," -p123", "", SW_SHOWNORMAL, false);
      Cheers
      Excellent! it works, thanks a lot for the help

      Comment

      Working...
      X