First venture in to using Windows Powershell having used batch files todate and I am trying to write a script to checkout repositories into a new location.
The original script using Windows batch files works ok but the same thing in a Powershell does not. I should point out that I am a hardware engineer and not a software engineer
Batch file command
Tortoiseproc.exe /command:checkout /path:"C:\MEDC2\Projects\APEC\APEC000_Admin" /url:"file:///R:/ProjectsSVN/APECsvn/APEC000_AdminSVN" /closeonend:2
works as expected.
If however, I try that exact same command in a Powershell script, it doesn't work with a "Unable to connect to a repository at URL..." message.
The R drive is a drive on the network.
The target folder is created
How come the batch file works, but not the powershell?
Is there anything I can do about it or should I do something different - and if so what please?
Many thanks