Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/13/2014 in all areas

  1. look here: '?do=embed' frameborder='0' data-embedContent>>
    1 point
  2. To expand upon the earlier answer by Radiance. When you execute a file within a zip, Windows does a temporary relocation first (of that file only), before executing it. So in that scenario, all other dependencies (other files/folders) will not be relocated, so a simple FileExists test will be your solution. Good coding practice, includes using FileExists at all points anyway. Never take a file or folder existence for granted. Be judicious though, as once code is running, you only need to test once during the life of the running script ... unless you cause something that makes a file location or existence (etc) change.
    1 point
  3. @Zohar: It's so simple with 1 line of script _WinAPI_SetParent($hWndButton, $hWndTarget) A side note: Any attempt to create/attach a control/child gui to another application's window(s) (means cross-process and/or cross-thread) is evil. Don't do something strange or you will crash/hang both your apps and the target apps.
    1 point
  4. Thank you, never say never. And company, lol. I didn't go looking for cmd.exe switches because when I tried it in my own command prompt, Windows told me it didn't recognize it. But I see now it's a parameter that has to be given to cmd.exe itself.
    1 point
  5. Exit

    What are /c and /k ???

    /c ontinue exit cmd window /k eep remain in cmd window
    1 point
×
×
  • Create New...