Jump to content

Recommended Posts

Posted (edited)

Hi all,

I wanna to know HOW i can program in send to menu?

Don't be harry telling me it is easy just make a ShortCut to the program you wanna and place the .lnk there.

I'm don't wanna that.

What i'm looking for IS how to add the program in the same way that Microsoft use to Add :

Compressed (zipped) Folder

Desktop (create shortcut)

Mail Recipient

My Documents

Just go to send to folder and R-Click on them you will not find them .lnk for example The Mail Recipient is Mail Recipient.MAPIMail

So How i can do this Action?

Edited by xtremee

Posted

Sure you use a .inf file just like ms does.

using profileitems section you have the entry like so:

[Reg2Inf]

Name = Reg2Inf,0x00000001

CmdLine = 11,,Reg2InfHandler.cmd

SubDir = %SENDTO%

IconPath = 10,,regedit.exe

WorkingDir = 11

with the string:

[strings]

sendto "..\..\SendTo"

Or you could just do it the easy way and use the method you mentioned...

Posted

1st thanks for your help and that what i'm actually looking for

This is the .inf file that i made but it don't add anything to send to !!

HOW i can use this code in a correct way?

[Version]
Signature="$CHICAGO$"
SetupClass=BASE

[Reg2Inf]
Name = Reg2Inf,0x00000001
CmdLine = 11,,Reg2InfHandler.cmd
SubDir = %SENDTO%
IconPath = 10,,regedit.exe
WorkingDir = 11

with the string:

[strings]
sendto "..\..\SendTo"

Thanks in advance

Posted

You missed a the basic default install section.

This will do it on a right click install...

[Version]
Signature=$Windows NT$

[Defaultinstall]
OptionDesc = "Makes a Reg2inf short in the SendTo Menu"
Tip = "Reg2inf Short"
Modes = 0,1,2,3
ProfileItems = Reg2inf

[Reg2Inf]
Name = Reg2Inf,0x00000001
CmdLine = 11,,Reg2InfHandler.cmd
SubDir = %SENDTO%
IconPath = 10,,regedit.exe
WorkingDir = 11

[strings]
sendto "..\..\SendTo"

Posted

Oops

this file should add Reg2Inf to my Send to Menu right, When i click install i can't find any thing there i also check the folder and i can't find any thing

What i miss ??

Posted (edited)

Make sure you have the IconPath and IconIndex (optional)

The profileitem by default will use the first icon of the exe but this is a CMD. It will error because it does not know what icon to use so this is why it fails

Name	  =Reg2Inf,0x00000001
CmdLine =11,,Reg2InfHandler.cmd
SubDir =%SENDTO%
IconPath =10,,regedit.exe
WorkingDir=11

Edited by ricktendo64
Posted

i find %sendTo% in my Start Menu !!

I don't know HOW?

i just copy the code as it and paste it in file giving name Send.inf then R-Click and install

Posted (edited)

I think this is a great question, BUT the title should be edited to reflect the question more appropriately, something like How to Add Custom Item to SendTo Menu... (and correct the misspelling in title).

It will help with anyone searching for this.

Edited by spacesurfer
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...