How to add a shortcut to the 'SendTo' menu that will be available to all users - windows-explorer

You can add a new item to the 'Send To' Windows explorer menu by creating an application shortcut in the SendTo folder contained in the user's profile folder e.g. C:\Documents and Settings\Username\SendTo\
But how do you add a 'Send To' menu item that will be available to all users without having to add it to every user's profile folder?
I found one page that suggested that you could create a SendTo folder in C:\Documents and Settings\All Users but the article was targeted at Windows 2000 and it does not appear to work in Windows XP.

I don't think AllUsers works for SendTo.
But you might add it to the DefaultUser SendTo folder. Then any new users would inherit a copy of the shortcut in their SendTo folder.
If you're wanting to add it to existing users, you're stuck putting the shortcuts in individual user's SendTo folders.

Related

Is there a way to change the name of the folder in "users"?

I wanted to change the name of the folder (C:\Users\user1) to something else but it was not showing the option when right clicked. is there a way to get pass this feature?
I tried right clicking and other common ways to rename the folder but it didn't show the option to rename the folder.
Yes you can edit the folders in the user folder utilizing the registry editor. Sign out of the user account containing the folder you want to rename and log onto a different admin account.
Press Win + R, type regedit and click okay to open the registry editor
From there navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
You should see a number of folders starting with "S-1-5-21..." if you click on one you'll see a number of keys. One of which is ProfileImagePath which shows your user folder. Find which "S-1-5-21..." folder has the user folder you want to modify.
Right click on ProfileImagePath, click "Modify", and type the name you want for the folder.
Now go to C:\Users and rename your old folder to the one you typed in the registry editor. And you should be good to go!

can't see Outlook folder from mfcmapi

I'm using MFCMAPI to try to view some properties of a folder (named 'test') that's in my Outlook 2007 mailbox. However, when I go quickstart > open folder in the menu, I don't see my folder listed. Thank you for your time!
The menu in the screenshot only shows the most frequently accessed folders. To see other folders, double click on the store, then click on the tree view to open a partiocular folder.

Folders not showing up on disk from XCode

I added a folder to my project in XCode and called it Themes, which will be used to store themes for my iPad app. Under that I have Red,Blue, and so forth.
They show up in XCode. But when I look at the physical folder, there is no Themes directory (and obviously anything under it).
Why not? Where did it go? How can I store images (which may have same names) under different paths (themes)?
Thanks in advance
XCode does not create "folder", it creates "groups". Groups are logical organization of your files, independent of the file system organization underneath it
If you want to actually have a folder, easiest way would be to create one on the file system first (through Finder), and then drag it to XCode's project navigator. When a confirmation window pops up, leave the default settings ("Copy items into destination" and "Create groups for any added folders")
This will import the folder and all the files in it, however it will not auto-import newly added files to the folder after this (you'd have to manually add them).
If you do want to auto-import newly added files from the file system's folder to this group in XCode, instead of using "Create groups for any added folders", change to "Create folder references to any added folders"

VS Setup project: install files in different directories

I have Visual Studio Setup project. And I want to install one of my file to some directory on drive C. How am I supposed to do it?
An example:
I'm installing my app in C:\MyApp. And one file, settings.ini, to C:\Settings\MyAppSettings\
You can try using the WindowsVolume property:
go to File System Editor
right-click the "File System on Target Machine" tree item and select "Add Special Folder" -> "Custom Folder" context menu
rename the new folder to something friendly, for example "C Drive"
select the folder
in its Properties pane set DefaultLocation to [WindowsVolume]
in this custom folder add the folder structure you want (MyApp, Settings etc.)
As this turned up quite high in the Google results - anyone looking to put the file onto a drive that is not the Windows volume (ie a network drive, or if Windows is not on C drive):
Follow the answer provided by #Cosmin above (add special folder in installer's file system), but put the literal drive path in.
Eg set DefaultLocation to c:\MyApp or z:\desired\location.

SHBrowseForFolder text edit

I have some questions regarding SHBrowseForFolder(). I am using it with BIF_USENEWUI, BIF_RETURNONLYFSDIRS and BIF_VALIDATE. I am mainly having problems with the edit box. I'd like it to function a bit differently.
Let us assume, I am at a valid directory "C:\path". If I type in a non-existing folder (Let us call it "Folder1") into the textbox and then press OK, then the path I receive is "C:\path". Is there a way to have it so that when I press OK, it creates "Folder1" in "C:\path" and gives me the path "C:\path\Folder1"? (Without having to use the Make New Folder button)
Currently, I can click on "Make New Folder", which creates a new folder that I can rename. In the text edit, it appears as New Folder (its default name). After I rename the folder, it still appears as New Folder in the text edit, unless I click on another folder and then click back on the newly named folder. Is there a way for the text edit to be updated as soon as I rename the folder?
1 install an application-defined callback function and specify the BIF_VALIDATE flag, then handle BFFM_VALIDATEFAILED and try to create the folder there.
2 you can subclass the dialog and the text edit in BFFM_INITIALIZED and look for TVN_BEGINLABELEDIT and TVN_ENDLABELEDIT from the tree control, then change the text in the edit control based on the change to tree node text when the user finishes editing. The dialog id for controls on the browse folder dialog is not documented, so there is a compatibility risk you need to consider. I won't be surprised if your code breaks after a Windows update/upgrade, but as a user, this is not a feature I would miss anyway.

Resources