Hello!
Suppose I have for example in my computer 2 folders:
1- the source path: Download/folder1/folder2/file.txt
2- the destination path: Download/folderA/folderB/folderC
I want that :
A- If file.txt does not exist in the destination path, create a duplication of file.txt in the destination path.
B- If file.txt exist in the destination path, replace the content of file.txt (destination path) with the content of file.txt (source path)
So we must have at the end in the destination path: Download/folderA/folderB/folderC/file.txt
and in the source path: Download/folder1/folder2/file.txt
Each 1 hour, the file.txt (source path) must replace the content of file.txt (destination path).
THANKS!
Create a PowerShell script.
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional