(.exe) Versions Check per Skript
Hallo miteinander!
Kann mir jemand sagen warum mein Skript nicht funktioniert?
$alte=filegetversion("C:\Users/kes/Desktop/Version/pdf353std.exe")
$neue=filegetversion("C:\Users/kes/Desktop/Version/pdf464std.exe")
MsgBox(64, "Alte Version:", $alte)
MsgBox(64, "Neue Version:", $neue)
if $alte<$neue then
filecopy("C:\Users/kes/Desktop/Version/pdf353std.exe","C:\Users/kes/Desktop/BAK/altebak.exe")
Endif
filedelete("C:\Users/kes/Desktop/Version/pdf353std.exe")
Würde das ganze auch einfach per Batch gehen? wenn ja wie?
Danke für eure Hilfe!
$alte=filegetversion("C:\Users/kes/Desktop/Version/pdf353std.exe")
$neue=filegetversion("C:\Users/kes/Desktop/Version/pdf464std.exe")
MsgBox(64, "Alte Version:", $alte)
MsgBox(64, "Neue Version:", $neue)
if $alte<$neue then
filecopy("C:\Users/kes/Desktop/Version/pdf353std.exe","C:\Users/kes/Desktop/BAK/altebak.exe")
Endif
filedelete("C:\Users/kes/Desktop/Version/pdf353std.exe")
Würde das ganze auch einfach per Batch gehen? wenn ja wie?
Danke für eure Hilfe!
Please also mark the comments that contributed to the solution of the article
Content-Key: 186976
Url: https://administrator.de/contentid/186976
Printed on: April 26, 2024 at 07:04 o'clock
3 Comments
Latest comment
Hallo NeoCrown,
ich denke mal der Link wird dir weiter helfen.
Das Script hab ich gerade getestet und es hat wunderbar funktioniert.
Müsstest du nur auf deine Wünsche anpassen.
MfG Medusaman
ich denke mal der Link wird dir weiter helfen.
Das Script hab ich gerade getestet und es hat wunderbar funktioniert.
Müsstest du nur auf deine Wünsche anpassen.
MfG Medusaman