Samsung TV SDK – setting your project path

I have a Samsung Smart TV which means I can write apps for it. The SDK you can download is really a visual editor and a shorcut to launching the emulator – the apps themselves are mostly written in HTML, JavaScript and CSS. It comes with jQuery, and all-in-all is surprisingly acceptable.

The biggest problem is that your projects must live in the “C:Program FilesSamsungSamsung TV SDK(3.1.1)apps” folder. After a brief moment of outrage at not being able to store my code where I want, I found this blog post by Peter Friese which reminded me that Windows does actually support symlinks via the mklink tool – so running up command as the local Administrator, going to the Samsung SDK folder, deleting the apps folder (after first moving my code where I wanted it to be!) and typing

mklink /D apps c:codesamsung_tv_apps

has fixed my problem!