exe mit kixtart starten
Hi, wir sind auf kixtart umgestiegen. Alles wunderbar. Nur hänge ich jetzt irgendwie in der Luft.
Ich muss für unseren Client Virenscanner von Trend Micro eine .exe auf einem, Vereigebenen Verzeichnis starten.
In einer Normalen batch war das ja einfach: \\servername\freigabename\xxx.exe
Wie läuft das aber unter kixtart? Da geht das nicht und google gab auch nichts her
Ich muss für unseren Client Virenscanner von Trend Micro eine .exe auf einem, Vereigebenen Verzeichnis starten.
In einer Normalen batch war das ja einfach: \\servername\freigabename\xxx.exe
Wie läuft das aber unter kixtart? Da geht das nicht und google gab auch nichts her
Please also mark the comments that contributed to the solution of the article
Content-Key: 26230
Url: https://administrator.de/contentid/26230
Printed on: April 20, 2024 at 01:04 o'clock
3 Comments
Latest comment
Hi,
guck mal hier:
http://www.scriptlogic.com/Kixtart/htmlhelp/Commands/run.htm
alternativ den shell Befehl ausprobieren.
mfg
DrOktagon
PS: Früher wurde noch eine chm Hilfedatei angeboten. Vielleicht findest du diese bei Scriptlogic.com
guck mal hier:
http://www.scriptlogic.com/Kixtart/htmlhelp/Commands/run.htm
alternativ den shell Befehl ausprobieren.
mfg
DrOktagon
PS: Früher wurde noch eine chm Hilfedatei angeboten. Vielleicht findest du diese bei Scriptlogic.com
Hi,
der Vollständigkeit halber und für andere Nutzer.
Mit den Befehlen SHELL und RUN kann man externe Kommandos ausführen.
Der Unterschied zwischen den Beiden ist, dass bei SHELL das KIX Skript unterbrochen wird bis der Befehl beendet wurde. Bei RUN wird das KIX Skript weitergeführt und das externe Programm läuft parallel weiter. Sonst sind die Befehle von der Syntax indentisch.
Aus der KIX Anleitung:
SHELL "command"
Command can be any 16-bit or 32-bit application. To run command interpreter
commands, specify the correct command interpreter as part of the command.
Script execution is stopped until the program exits.
If the program you want to run needs to set environment variables (as is the case with
Smsls.bat, for example), you may need to specify additional environment space by
using the /E parameter.
SHELL sets the value of @16034 to the exit code of the program that is run.
Beispiele:
SHELL @ldrive + "\UPDATE.EXE"
SHELL "%COMSPEC% /e:1024 /c DIR C:"
SHELL "SETW USERNAME=@USERID"
SHELL "CMD.EXE /C COPY " + @ldrive + "\FILE.TXT C:\"
SHELL "%COMSPEC% /C COPY Z:\FILE.TXT C:\"
SHELL "C:\WINNT\SYSTEM32\CMD /E:1024 /C " + @ldrive + "\SMSLS.BAT"
RUN
Command can be any 16-bit or 32-bit application. To run command interpreter
commands, specify the correct command interpreter as part of the command.
RUN does not wait for the program to complete. Script execution continues
immediately. This behavior is different from the MS-DOS ? based version of KiXtart,
where the RUN command also terminates the script. If you want to emulate the
MS-DOS ? based version, you must add an EXIT command after the RUN command.
Beispiele:
RUN @ldrive + "\UPDATE.EXE"
RUN "%COMSPEC% /e:1024 /c DIR C:"
Gruß Miguel
der Vollständigkeit halber und für andere Nutzer.
Mit den Befehlen SHELL und RUN kann man externe Kommandos ausführen.
Der Unterschied zwischen den Beiden ist, dass bei SHELL das KIX Skript unterbrochen wird bis der Befehl beendet wurde. Bei RUN wird das KIX Skript weitergeführt und das externe Programm läuft parallel weiter. Sonst sind die Befehle von der Syntax indentisch.
Aus der KIX Anleitung:
SHELL "command"
Command can be any 16-bit or 32-bit application. To run command interpreter
commands, specify the correct command interpreter as part of the command.
Script execution is stopped until the program exits.
If the program you want to run needs to set environment variables (as is the case with
Smsls.bat, for example), you may need to specify additional environment space by
using the /E parameter.
SHELL sets the value of @16034 to the exit code of the program that is run.
Beispiele:
SHELL @ldrive + "\UPDATE.EXE"
SHELL "%COMSPEC% /e:1024 /c DIR C:"
SHELL "SETW USERNAME=@USERID"
SHELL "CMD.EXE /C COPY " + @ldrive + "\FILE.TXT C:\"
SHELL "%COMSPEC% /C COPY Z:\FILE.TXT C:\"
SHELL "C:\WINNT\SYSTEM32\CMD /E:1024 /C " + @ldrive + "\SMSLS.BAT"
RUN
Command can be any 16-bit or 32-bit application. To run command interpreter
commands, specify the correct command interpreter as part of the command.
RUN does not wait for the program to complete. Script execution continues
immediately. This behavior is different from the MS-DOS ? based version of KiXtart,
where the RUN command also terminates the script. If you want to emulate the
MS-DOS ? based version, you must add an EXIT command after the RUN command.
Beispiele:
RUN @ldrive + "\UPDATE.EXE"
RUN "%COMSPEC% /e:1024 /c DIR C:"
Gruß Miguel