Variablen von VBScript in Batch verwenden
Hallo,
ich möchte 2 Variablen aus einem VBScript in einem Batchscript verwenden.
Die Ausgabe des VBScripts ist wie folgt:
Im Batch-Script möchte ich die beiden Variablen wie folgt befüllen:
Leider werden die beiden Variablen in Batch nicht gefüllt.
Kann mir jemand helfen?
Gruß Andreas
ich möchte 2 Variablen aus einem VBScript in einem Batchscript verwenden.
Die Ausgabe des VBScripts ist wie folgt:
20091027_92715,2009-10-27 9.27.15
Im Batch-Script möchte ich die beiden Variablen wie folgt befüllen:
for /F "tokens=1,2 usebackq delims=," %%i in ('cscript //nologo dateFormat.vbs') do @(
@set reportStartTime=%%i
@set logDate=%%j
)
Kann mir jemand helfen?
Gruß Andreas
Please also mark the comments that contributed to the solution of the article
Content-Key: 127991
Url: https://administrator.de/contentid/127991
Printed on: April 19, 2024 at 07:04 o'clock
4 Comments
Latest comment