Hello, I made a post last night but I got frustrated and went to bed, I tried to change the variables up so it made more sense to the reader.. Basically I don't know why this file isn't copying to the remote location. I'll put in a screenshot of a MsgBox that looks perfect as the source file and the remote location. Please help me understand what I'm doing wrong.
Code: Select all
#SingleInstance force
FormatTime, time, , yyyy-MM-dd
name := time A_ComputerName
logdir = %A_AppData%\Microsoft\Teapot\
f::
FileCopy, "%logdir%%time%.txt", "C:\OM\%name%.txt"
; MsgBox, "%logdir%%time%.txt", "C:\OM\%name%.txt"
return