I have a batch file that executes these commands:
set repodir=D:\Folder
cd /d %repodir%
call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86_amd64
tf undo * /recursive /noprompt
tf get
I want to achieve same functionality from shell script. I am able to change the directory path to wherever code is present
Problems:
command call is not found - read that I need to use
.operator in shell script. Tried this but not working. Error is "@echo command not found" in vcvarsall.bat ( the first line in that file is @echo off ). "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86_amd64Since calling batch file is failing in step 2, command tf is not found
tf undo * /recursive /noprompt tf get
Environment: I am trying to run the shell script using cygwin on Windows Server 2008
@echo offis there