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 Diamond

Notices



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-04-2008, 11:14 PM
syanni85's Avatar
Flat-Out-Addicted
Offline
Pocket PC: Nexus S 4G
Carrier: Sprint
Location: Libertyville, IL (near the Chi)
 
Join Date: Jan 2008
Posts: 2,186
Reputation: 6168
syanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Create .lnk Shortcuts - Very Easy

Ok so i have OCN8 on my phone, but i has to load from a file in internal storage since its 1.4GB large...

i wanted it in my programs list, but i couldn't just copy the .exe (cuz i never really had an "installation" for the program)

anyways, creating the .lnk file is TOO easy..

To create a program shortcut, you need to create a file with a .lnk extension. The following steps demonstrate the procedure.
  1. Open Notepad
  2. Place the entire command line in the first line of the file, including the .exe file. You must use quotation marks if it resides in a directory with spaces, such as “\Program Files.”
  3. Count the number of characters in the command line, including spaces and quotes, to get the length of the string.
  4. In the .lnk file, the format for the line is
    <length of string>#<command line>
  5. Save the file and copy it to the "\Windows\Start Menu" directory on the Windows CE or Pocket PC device. This places the shortcut at the top level of the Start Menu.
Example
Here is an example of the above steps:
  1. Open Notepad
  2. Add the following statement to the first line of the .lnk file: 77#"\Internal Storage\OCN8\OCN8.exe"
    Note: There are 77 characters in the command to be executed.
  3. Save the file to "\Windows\Start Menu".
  4. On the Windows CE or Pocket PC device, tap the Start button to see the shortcut that was created. The name of the shortcut is the same as the name of the .lnk file, minus the extension.
__________________

If I helped ya or If you like my work, I don't want donations, I don't want coffee, but a simple THANKS
would do the trick!

Last edited by syanni85; 12-05-2008 at 12:02 AM. Reason: found solution
Reply With Quote
This post has been thanked 2 times.
  #2 (permalink)  
Old 12-04-2008, 11:31 PM
denttarek's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Diamond
Carrier: Sprint
Location: St.Louis,MO
 
Join Date: Jul 2007
Posts: 295
Reputation: 250
denttarek is becoming a PPCGeeks regulardenttarek is becoming a PPCGeeks regulardenttarek is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to denttarek Send a message via Skype™ to denttarek
Re: Help. Shortcut Needed!!

resco explorer
click and hold the file tap"copy"
go to your destination where you want the shortcut,tap and hold then tap"paste as a shortcut"
if you want it in your program lists you need to paste it at windows/start menu/programs
Reply With Quote
This post has been thanked 3 times.
  #3 (permalink)  
Old 12-04-2008, 11:33 PM
denttarek's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Diamond
Carrier: Sprint
Location: St.Louis,MO
 
Join Date: Jul 2007
Posts: 295
Reputation: 250
denttarek is becoming a PPCGeeks regulardenttarek is becoming a PPCGeeks regulardenttarek is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to denttarek Send a message via Skype™ to denttarek
Re: Help. Shortcut Needed!!

Actually i have just checked the regular"file explorer" and it is the same way ,the only issue with the stock file explorer to paste a file you have to find an empty spot to tap and hold or the option won't appear

Last edited by denttarek; 12-04-2008 at 11:41 PM.
Reply With Quote
This post has been thanked 1 times.
  #4 (permalink)  
Old 12-04-2008, 11:54 PM
syanni85's Avatar
Flat-Out-Addicted
Offline
Pocket PC: Nexus S 4G
Carrier: Sprint
Threadstarter
Location: Libertyville, IL (near the Chi)
 
Join Date: Jan 2008
Posts: 2,186
Reputation: 6168
syanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Help. Shortcut Needed!!

thanks denttarek, but that isn't what i was lookin for cuz that won't work, you're sayin to copy the .exe file, i'm wanting to create a .lnk to that .exe file in internal storage... the program needs to load from the internal storage which has 1.4GB of info... but yeah... i found how to do it... reallly simple:

http://www.sybase.com/detail?id=1022740

now i feel like i wasted a thread, but maybe it'll be helpful to others
Reply With Quote
  #5 (permalink)  
Old 12-04-2008, 11:55 PM
denttarek's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Diamond
Carrier: Sprint
Location: St.Louis,MO
 
Join Date: Jul 2007
Posts: 295
Reputation: 250
denttarek is becoming a PPCGeeks regulardenttarek is becoming a PPCGeeks regulardenttarek is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to denttarek Send a message via Skype™ to denttarek
Re: Help. Shortcut Needed!!

when you "paste shortcut" it does that for you,try it

and you can drop that file wherever you want and it is the shortcut for that exe file
i am not talking about a normal copy/paste it is a copy/paste shortcut

Last edited by denttarek; 12-04-2008 at 11:57 PM.
Reply With Quote
This post has been thanked 1 times.
  #6 (permalink)  
Old 12-05-2008, 12:01 AM
syanni85's Avatar
Flat-Out-Addicted
Offline
Pocket PC: Nexus S 4G
Carrier: Sprint
Threadstarter
Location: Libertyville, IL (near the Chi)
 
Join Date: Jan 2008
Posts: 2,186
Reputation: 6168
syanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the communitysyanni85 is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Help. Shortcut Needed!!

Quote:
Originally Posted by denttarek View Post
when you "paste shortcut" it does that for you,try it

and you can drop that file wherever you want and it is the shortcut for that exe file
i am not talking about a normal copy/paste it is a copy/paste shortcut
OMG, i can't believe i over looked that... wow.. i feel incredibly newb lol

Thanks bro
Reply With Quote
  #7 (permalink)  
Old 12-05-2008, 12:05 AM
denttarek's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Diamond
Carrier: Sprint
Location: St.Louis,MO
 
Join Date: Jul 2007
Posts: 295
Reputation: 250
denttarek is becoming a PPCGeeks regulardenttarek is becoming a PPCGeeks regulardenttarek is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to denttarek Send a message via Skype™ to denttarek
Re: Create .lnk Shortcuts - Very Easy

it is alright ,the wiki you have made is hilarious though
anyways it happens
sometimes we forget the basics after so long.i have had my share lol
Reply With Quote
This post has been thanked 1 times.
  #8 (permalink)  
Old 12-05-2008, 02:48 PM
majorassface's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Telus
Location: Toronto
 
Join Date: Sep 2008
Posts: 376
Reputation: 345
majorassface is becoming a PPCGeeks regularmajorassface is becoming a PPCGeeks regularmajorassface is becoming a PPCGeeks regularmajorassface is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Create .lnk Shortcuts - Very Easy

LOL, I couldn't help but laugh, sorry Syanni! Great tutorial though, just not helpful to anyone.
Reply With Quote
  #9 (permalink)  
Old 12-28-2008, 12:36 PM
kmahesh's Avatar
Lurker
Offline
 
Join Date: Dec 2008
Posts: 3
Reputation: 0
kmahesh is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Create .lnk Shortcuts - Very Easy

Quote:
Originally Posted by syanni85 View Post
Ok so i have OCN8 on my phone, but i has to load from a file in internal storage since its 1.4GB large...

i wanted it in my programs list, but i couldn't just copy the .exe (cuz i never really had an "installation" for the program)

anyways, creating the .lnk file is TOO easy..

To create a program shortcut, you need to create a file with a .lnk extension. The following steps demonstrate the procedure.
  1. Open Notepad
  2. Place the entire command line in the first line of the file, including the .exe file. You must use quotation marks if it resides in a directory with spaces, such as \Program Files.
  3. Count the number of characters in the command line, including spaces and quotes, to get the length of the string.
  4. In the .lnk file, the format for the line is
    <length of string>#<command line>
  5. Save the file and copy it to the "\Windows\Start Menu" directory on the Windows CE or Pocket PC device. This places the shortcut at the top level of the Start Menu.
Example
Here is an example of the above steps:
  1. Open Notepad
  2. Add the following statement to the first line of the .lnk file: 77#"\Internal Storage\OCN8\OCN8.exe"
    Note: There are 77 characters in the command to be executed.
  3. Save the file to "\Windows\Start Menu".
  4. On the Windows CE or Pocket PC device, tap the Start button to see the shortcut that was created. The name of the shortcut is the same as the name of the .lnk file, minus the extension.
Syanni -

I am having a problem with at stupid shortcut. This is what I did.

1. created a file called BBSecStop.lnk and this file has the following text

75#"\Program Files\FdcSoft\TaskMgr\TaskMgr.exe" "stopsvc BlackberrySecurity"

2. Copied this file to "/windows/startup" on my htc touchpro
3. I can see this icon on my startup menu.
4. When I click, all it does is it kicks off TaskMgr application.

But my ultimate expected result is that it should open the app AND fire the command to stop the service AND close the app. Even if it doesnt close the app, that is fine but the second part should happen. What should I do to make this happen?
Reply With Quote
  #10 (permalink)  
Old 12-28-2008, 01:13 PM
rstoyguy's Avatar
SuperNoob
Offline
Pocket PC: iPhone 5s
Carrier: TMobile
Location: Wichita, KS
 
Join Date: Jan 2008
Posts: 6,309
Reputation: 23264
rstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Create .lnk Shortcuts - Very Easy

Quote:
Originally Posted by kmahesh View Post
Syanni -

I am having a problem with at stupid shortcut. This is what I did.

1. created a file called BBSecStop.lnk and this file has the following text

75#"\Program Files\FdcSoft\TaskMgr\TaskMgr.exe" "stopsvc BlackberrySecurity"

2. Copied this file to "/windows/startup" on my htc touchpro
3. I can see this icon on my startup menu.
4. When I click, all it does is it kicks off TaskMgr application.

But my ultimate expected result is that it should open the app AND fire the command to stop the service AND close the app. Even if it doesnt close the app, that is fine but the second part should happen. What should I do to make this happen?
Try this:

70#"\Program Files\FdcSoft\TaskMgr\TaskMgr.exe" stopsvc BlackberrySecurity

...as a stab in the dark
__________________
If this post was helpfull, let me know by clicking Thanks!

Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Diamond

Thread Tools
Display Modes

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:14 AM.


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