mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 23:03:51 +02:00
fix date grabbing
This caused the ZIP file to not be created properly or be moved once done
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
@echo off
|
||||
for /f %%a in ('wmic os get LocalDateTime ^| find "."') do set DTS=%%a
|
||||
set TODAY=%DTS:~0,4%%DTS:~4,2%%DTS:~6,2%
|
||||
for /f %%a in ('powershell -Command "Get-Date -format yyyyMMdd"') do set TODAY=%%a
|
||||
set ZIP_NAME=VRCX_%TODAY%.zip
|
||||
echo %ZIP_NAME%
|
||||
rem using 7-Zip (https://www.7-zip.org)
|
||||
|
||||
Reference in New Issue
Block a user