rhollingseadI have a softphone program that keeps its address book info in a XML file under the individual users' profile. How can I make a script that will have Kaseya drop a new file into this particular directory and overwrite the old one? On top of that, I have a mix of XP and Vista clients - the file is in the same named folder, but the folder is a few layers down and the path to get to the user folder is different for both, of course. Any thoughts?
I'm on Kaseya 4.8, if that matters any.
for /f %%g in ('dir /ad /b') do (copy /y c:\foo.txt %%g\desktop)
LmhansenYou can also use the %allusersprofile% variable to copy the contents to the shared profile used by everyone ...
rhollingseadNo, no errors - in fact, Kaseya shows that the script ran successfully. But I've checked for the file anywhere on my computer, and all I get is the original file that I am trying to replace, same size, same modified date.