Hey, maybe someone here can help me. I'm using RunCommand with cmd to copy and paste a folder. Everything works fine on Rainmeter, the problem is the log.txt file. I decided to use the cmd to create the file and everything works as expected except for the format.
Parameter:Log.txt As you can tell, the echos I created are weirdly spaced. Does anyone know how to fix that?
Parameter:
Code:
Parameter=IF NOT EXIST DFLT (echo N && echo %DATE% %TIME% Error:DFLT is missing.>>Log.txt) ELSE (IF NOT EXIST #ROOTCONFIGPATH#Gauges\[#Name] (((Xcopy DFLT #ROOTCONFIGPATH#Gauges\[#Name] /e /h /i /v && echo %DATE% %TIME% [#Name] Gauge successfully created.)>>Log.txt) && echo Y ) ELSE ((echo %DATE% %TIME% Error:[#Name] already exists.>>Log.txt) && echo N ))
Statistics: Posted by RicardoTM — Today, 1:28 am