I am new to scripting and opted for the PowerShell example purely because I have PowerShell on my laptop.
In the example that is supplied on the website I am having issue with the code and suspect that it is related to me not the example.
Here is the example that you have supplied:
My first thought it was going to be straight forward, however had an issue registering
winscpnet.dllthen an issue with the script
DirectoryInfowas not a cmd, I guess that this line needed a
$before the command.
After inserting a
$, the script now moves onto the next issue.
Can some one please point me in the right direction I have ensured that I have two files in the folder and while they have the same date stamp they do have different time stamps.Can't get attributes of file '/usr/xxx/xxx.cvs'
Any help would be great