EXE-Befehl für Konsole + Variable

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: EXE-Befehl für Konsole + Variable

Re: EXE-Befehl für Konsole + Variable

Post by just me » 17 Oct 2021, 06:22

EXE-Befehl für Konsole + Variable

Post by Stroker-007 » 16 Oct 2021, 23:16

Hallo!

Ich will mit AHK eine konsolen-taugliche EXE herstellen, an die eine Variable übergeben werden kann.

Zunächst soll "taskkill" nachgebaut werden:

taskkill /IM [Prozess] /F
taskkill /IM TOTALCMD64.exe /F

process, close, ...und wie geht es jetzt weiter?...

Wenn die Datei dann shot.exe heißen soll, will ich

shot TOTALCMD64.exe

in der Konsole oder in einer Batch-Datei eingeben, und dasselbe Ergebnis wie oben bei taskkill bekommen.

2. Fall:

sleep, 1000

soll werden zu wait.exe - inkl. 1000er-Teiler:

Konsole oder in Batch:
wait 1
wait 15 ...etc. egal wie auch immer

btw.: Das Compilieren einer .ahk muß nicht erklärt werden, das kann ich natürlich.

Grüße,
Stroker-007

Top