PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2
Register Community Search

Notices


View Poll Results: What you want to know about UC?
Basics - show me how to get started 72 35.29%
Editing and creating cabs - I want to share what I do 13 6.37%
XML Provisioning - I want to set up ActiveSync,WI-FI... automatically 40 19.61%
Scripting - I want to learn MortScript and how it can make UC easier 9 4.41%
Advanced Customizations - Removing the things I don't use 31 15.20%
What the hell is UC anyway? 39 19.12%
Voters: 204. You may not vote on this poll

 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #29 (permalink)  
Old 03-16-2011, 11:52 PM
BumRush37's Avatar
Lurker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
 
Join Date: Jun 2010
Posts: 11
Reputation: 10
BumRush37 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-12-15}

I need some mortscript help please. After all the research I've done, I thought the following would work:

Filename is My.mscr and it is placed in my XDA_UC folder on my storage card (using NRG ROM). This is what is in the file:

Copy("\Storage Card\My Documents\HOME.lnk","\Windows\Start Menu\Programs\")
Copy("\Storage Card\My Documents\Home.png","\Windows\")
Copy("\Storage Card\Program Files\WinMoSpeed\WinMoSpeed_710.lnk","\Windows\Sta rtUp\")
RegWriteString("HKLM","Security\Shell\Startinfo\St art\HOME.lnk","Icon","\Windows\Home.png")
RegWriteDWord("HKLM","Security\Shell\Startinfo\Sta rt\HOME.lnk","Rank", 999)
EXIT


None of the files get copied, but the registry keys are created (after a reset of course). I can't figure out why the files are not copied.

Thanks for any help!

Bum
Reply With Quote
 

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 03:24 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com