<p>We have a number of users with Windows Mobile 6 and need to apply minor changes. eg. update a registry setting. One option is push and execute an executable file using our device management software.</p>

<p>I'd like this to be a little more friendly for the admins who are familiar with scripting in VBScript/JScript etc. What are the options for scripting on Windows Mobile devices?</p>

[{'answer_id': 28838, 'author': 'Adam Haile', 'author_id': 194, 'author_profile': 'https://Stackoverflow.com/users/194', 'pm_score': 3, 'selected': False, 'text': '<p>I work on windows mobile full time and have never really come across a good Windows Mobile scripting implementation unfortunately.  For some reason MS has never seen the need for it.  For example, even though you can actually get a command console on WM, it does not support running batch files, even though all the commands are still there and it would be relatively easy.  There is definitely not a VBScript engine I\'ve ever heard of nor JScript.  There is <a href="http://pythonce.sourceforge.net/" rel="noreferrer">PythonCE</a> but the WM specific support is minimal and you don\'t get access to a lot of WM only things.</p>\n\n<p>Also, I\'ve done a lot of work with a company called <a href="http://soti.net/" rel="noreferrer">SOTI</a> which has a product called MobiControl that does incorporate a basic scripting engine. Though most of the commands are specific to their system and actually have to be run from a desktop-side management console.</p>\n\n<p>Given all of the times I have tried to find a good scripting engine for WM myself you would think I would\'ve just written one ;)</p>\n\n<p>So, sorry, but the basic answer is <em>no</em>, there is not a scripting engine available for VB in the context that you specified.</p>\n'}, {'answer_id': 28933, 'author': 'Lee', 'author_id': 1954, 'author_profile': 'https://Stackoverflow.com/users/1954', 'pm_score': 2, 'selected': False, 'text': '<p>The closest thing to a scripting environment on Windows Mobile is the Configuration Service Provider interface.  While it is not a scripting language <em>per se</em>, it does allow one to do a lot of the same type of things such as modify registry settings, copy and delete files and directories, install and uninstall applications and much more.</p>\n\n<p>Mike Calligaro has <a href="http://msdn.microsoft.com/en-us/magazine/cc500581.aspx" rel="nofollow noreferrer">a great article</a> on how to write scripts and how to get them from your desktop onto the device in various ways.  One of them is certain to work for you.</p>\n'}, {'answer_id': 33251, 'author': 'snctln', 'author_id': 3494, 'author_profile': 'https://Stackoverflow.com/users/3494', 'pm_score': 3, 'selected': True, 'text': '<p>Once option that the devs over at xda-developers seem to enjoy is <a href="http://www.sto-helit.de/index.php?module=page&amp;entry=ms_overview&amp;action=view" rel="nofollow noreferrer">Mortscript</a></p>\n\n<p>I have never bothered to use it, but I have used many cab installers that distribute mortscript so that they can do various tasks</p>\n'}, {'answer_id': 1853996, 'author': 'Nathan Campos', 'author_id': 126353, 'author_profile': 'https://Stackoverflow.com/users/126353', 'pm_score': 0, 'selected': False, 'text': '<p>There is also a <a href="http://www.cebeans.com/" rel="nofollow noreferrer">Visual Basic Runtime</a> to run VBScript</p>\n'}, {'answer_id': 19102309, 'author': 'Jacinto Gomez', 'author_id': 2240581, 'author_profile': 'https://Stackoverflow.com/users/2240581', 'pm_score': 0, 'selected': False, 'text': '<p><b>Try Lua:</b><br>\nOficial Lua page: <a href="http://www.lua.org/" rel="nofollow">http://www.lua.org/</a> <br>\nLua WinCe / Mobile port: <a href="http://www.magma.com.ni/sw/wince/lua/" rel="nofollow">http://www.magma.com.ni/sw/wince/lua/</a></p>\n'}]
['https://Stackoverflow.com/questions/28820', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/636/']