Xlink is not recognized as an internal or external command

i got this error when, i tried to compile a blink led pgm in msp430g2211

C:\VisSim80\cg>set USER_OBJS=

C:\VisSim80\cg>set FILE=Diagram1

C:\VisSim80\cg>set CPU=F449

C:\VisSim80\cg>if not "G2211" == "" set CPU=G2211

C:\VisSim80\cg>set TGT=MSP430

C:\VisSim80\cg>set TGTCPU=MSP430

C:\VisSim80\cg>rem set IAR_DIR="C:\Program Files\IAR Systems\Embedded Workbench 5.0"

C:\VisSim80\cg>set IAR_DIR="C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation"

C:\VisSim80\cg>set V="v4"

C:\VisSim80\cg>if not ""v4"" == "v3" set LINK_OPTIONS=-s __program_start

C:\VisSim80\cg>set TGT_DIR="C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation"\430

C:\VisSim80\cg>set CCDIR="C:\Program Files\IAR Systems\Embedded Workbench 6.0 Ev aluation"\430\bin

C:\VisSim80\cg>rem set C_DIR=\src\cg\MSP430\include;"C:\Program Files\IAR System s\Embedded Workbench 6.0 Evaluation"\430\bin\inc\clib;"C:\Program Files\IAR Syst ems\Embedded Workbench 6.0 Evaluation"\430\bin\lib;\src\cg\include

C:\VisSim80\cg>set CMD=Command

C:\VisSim80\cg>if "Windows_NT" == "Windows_NT" set CMD=system32

C:\VisSim80\cg>set MEMMOD=

C:\VisSim80\cg>if "G2211" == "xxFG4619" set MEMMOD=X

C:\VisSim80\cg>set ICFLAGS=--core=430 --silent -e --diag_suppress pe193,pe177 -D MSP430G2211

C:\VisSim80\cg>set PATH=C:/CCS/xdctools_3_22_01_21;C:\Windows\system32;C:\Window s;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Cadenc e\SPB_16.3\tools\bin;C:\Cadence\SPB_16.3\tools\libutil\bin;C:\Cadence\SPB_16.3\t ools\fet\bin;C:\Cadence\SPB_16.3\tools\pcb\bin;C:\Cadence\SPB_16.3\tools\specctr a\bin;C:\Cadence\SPB_16.3\tools\PSpice;C:\Cadence\SPB_16.3\tools\PSpice\Library; C:\Cadence\SPB_16.3\tools\Capture;C:\Cadence\SPB_16.3\OpenAccess\bin\win32\opt;C :\Program Files\Smart Projects\IsoBuster;C:\CCStudio_v3.3\cc\bin;C:\CCStudio_v3 .3\cc\bin;C:\Program Files\MATLAB\R2010a\runtime\win32;C:\Program Files\MATLAB\R 2010a\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundatio n\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\WinNT\Bin;C:/CCS/xdctools _3_22_01_21;C:\Windows;C:\Windows\system32;C:\MSP430CC;"C:\Program Files\IAR Sys tems\Embedded Workbench 6.0 Evaluation"\430\bin;"C:\Program Files\IAR Systems\Em bedded Workbench 6.0 Evaluation"\common\bin

C:\VisSim80\cg>rem --preprocess=n Diagram1.pp -ohz

C:\VisSim80\cg>icc430 --core=430 --silent -e --diag_suppress pe193,pe177 -D__MSP 430G2211__ -D_DSP -D_16_BIT_TARGET -D_IAR -D_MSP430_ -D_SMALL_RAM -I"C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation"\430\inc -I"C:\Program File s\IAR Systems\Embedded Workbench 6.0 Evaluation"\430\inc\clib -IC:\VisSim80\vsdk \include -I.\include Diagram1.c 'icc430' is not recognized as an internal or external command, operable program or batch file.

C:\VisSim80\cg>set HEAP=0x40

C:\VisSim80\cg>if not "0" == "" set HEAP=0

C:\VisSim80\cg>set STAK=0x40

C:\VisSim80\cg>if not "40" == "" set STAK=40

C:\VisSim80\cg>set FLASH=

C:\VisSim80\cg>set HWMUL=

C:\VisSim80\cg>if "sr" == "m" set HWMUL=-f "C:\Program Files\IAR Systems\Embedde d Workbench 6.0 Evaluation"\430\config\multiplier.xcl

C:\VisSim80\cg>rem -f "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evalu ation"\430\config\compactmath.xcl -f "C:\Program Files\IAR Systems\Embedded Wor kbench 6.0 Evaluation"\430\config\multiplier.xcl

C:\VisSim80\cg>xlink Diagram1.r43 -Fmotorola -B -z -xmnei -l Diagram1.map -o Di agram1.a43 -D_STACK_SIZE=40 -D_DATA20_HEAP_SIZE=0 -D_DATA16_HEAP_SIZE=0 lib\iar" v4"_MSP430.lib -I"C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation "\430\lib\ -f "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation"\ 430\config\lnk430G2211.xcl -Rw -I"C:\Program Files\IAR Systems\Embedded Workbenc h 6.0 Evaluation"\430\lib\clib cl430f.r43 -s __program_start 'xlink' is not recognized as an internal or external command, operable program or batch file.

C:\VisSim80\cg>pause Press any key to continue . . .

The problem is that the path

The problem is that the path to your IAR compiler is not correct. Looking at your post above the path is listed as:
"C:\Program Files\IAR Sys tems\Embedded Workbench 6.0 Evaluation"\430\bin;"C:\Program Files\IAR Systems\Em bedded Workbench 6.0 Evaluation"\common\bin
Notice the spurious space in "Sys tems" above and also "Em bedded". This is from the file \vissim80\cg\msp430cl.bat
Edit the file to remove the spaces and you should be fine (assuming you have the IAR Workbench installed that the path given.