I need to make from a list with a format
<user> <data>
multiple .txt files with name is user and it content needs to be data
Creating .txt files from a .txt file
-
- Posts: 1
- Joined: 03 Aug 2021, 06:44
Re: Creating .txt files from a .txt file
Code: Select all
dir = %A_ScriptDir%
user = thisuser
data = thesedata
For each, file in ["User1", "User2"]
FileAppend, <%user%> <%data%>, %dir%\%file%.txt
MsgBox, 64, Success, Done!
Who is online
Users browsing this forum: hedehede81, OrangeCat and 298 guests