I have been using TFS from the same laptop for 5 years. The laptop is being replaced and I am setting up the new one.
On the old laptop I could access TFS via VS2010 to “manually” check sources in and out. However I found it quicker to do this with a batch file that called tf.exe to check the source in/out.
On the new laptop I can access TFS via VS2017 to “manually” check sources in and out. I modified the batch file to include the new path for tf.exe but when I execute it, I get an error “The item… cannot be found in your workspace, or you do not have permission to access it”. The file(s) I try and check out are definitely where they should be and, as far as I am aware, I have full access to the folder.
Can anyone offer suggestions as to how I might resolve this? Thanks in advance.
I have tried executing the batch file from the local workspace folder and have verified using "tf vc workspaces" that the local folder is where I think it is.
Might it be something to do with using accessing TFS from both laptops using same credentials I wonder?