Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 822

Community Plugins & Addons • RunCommand

$
0
0
It is set to UTF8, the log.txt is not created by the measure but by the command itself. That option only affects the measure's string, which is only "Y" or "N" and it's not output to any file.

The parameter works like this:

There's a folder called DFLT (Default)

First the parameter analyzes if the folder exists, if it doesn't exist then it writes "Error:DFLT is missing." to log.txt and stops. (And the measure string = N)

If it indeed exists then it copies the folder (and everything inside) to paste it on another destination under another name.

Based on the [#Name] variable (User Input) it will look on the destination folder and see if it already exists.

If that folder exists then it stops and writes "Error:[#Name] already exists." to Log.txt (And the measure string = N)

If it doesn't exist then pastes the DFLT folder to a new destination under [#Name] and writes all the files and "[#Name] created successfully." to the Log.txt file. (And the measure string = Y)

So yeah, the problem seems to be that the XCopy command outputs on a format and echo on another format, so I guess what I need to find out is how to change the format in what echo command writes to the file.

Statistics: Posted by RicardoTM — Today, 2:34 am — Replies 182 — Views 65195



Viewing all articles
Browse latest Browse all 822

Trending Articles