Associate folder with my application? - windows

How to associate a specific folder(not files with extension) with my application in windows, so that when i double click on that folder it open my application?

I assume that there's no application starting when you doubleclick on a folder, because you cannot "start" it with "open with" either. But as a workaround you could create a shortcut to your application under [systemdrive]\user\[username]\AppData\Roaming\Microsoft\Windows\SendTo and start your application over the rightclick->"send to" menu.

Related

I renamed my desktop directory and now cannot open it right

In my computer desktop is named "Área de Trabalho", but when I am creating a project in the CLI, it does not go well because of these special characters. So I renamed the directory to Desktop in cmd with ren "Área de Trabalho" Desktop, now I can find my files but only when opening file explorer, when I open desktop GUI it is totally blank, do you know how to update this desktop path?
Open file explorer, then right-click on the desktop icon on your left side, where all the drives are listed, select properties, and a dialog box will be opened "Desktop properties" then select Location Tab, and you can update the path over there.
In quick summary
Open File Explorer - > Right-click on the desktop icon on the left side -> select properties -> Inside the desktop properties dialog choose the location tab & update the required path.
Thank you.

MacOS + Visual Studio Code: add a folder to a workspace by path

I'm trying to inspect the code in a module found in a subfolder of /usr/local/lib/python3.9/site-packages/*.
The trouble is that Visual Studio Code only gives me the system finder view, to navigate to the folder, and I'm not quite sure how to get to the root to even find /usr.
typing the path in the search bar doesn't help
navigating to Macintosh HD and or Volumes still doesn't show me /usr or other common Linux folders located on the root filesystem.
This method should work in any app that uses the standard file dialogs:
In the Finder open a new window
Type Command-Shift-G or select Go to Folder… from the Finder’s Go menu
Enter your path, e.g. /usr/local/lib/python3.9/site-packages
You now have a Finder window showing the (parent) folder of where you want to explore
In VSCode type Command+O or select Open… from the File menu
A standard file dialog will open
Click on a folder icon in your Finder window, this can be an icon in the window itself or the one in the window’s title bar, and drag and drop it onto the standard file dialog.
The dialog will switch to show the dropped folder
Continue navigating as usual

Application icon becomes blank when folder is changed

I have created an MFC application which has the icon for it as part of its resources. Now, when I place the shortcut to the application on Desktop the icon for the application appears as expected. But now when I create a folder and move this shortcut inside that folder; it becomes blank.
I am facing another situation as well; where the exe kept inside the output folder doesn't show the icon and is blank. But as soon as I change the name of the exe both the icon in the output folder aswell the desktop icon for it appears.
I am using Windows 10 and application is built using VS2008. Could you please help?

Xcode 4 : how to have the folder name of each opened project displayed in the Window menu?

In Xcode 3.x, it was very practical, when you have several Xcode project opened in parallel, to know what is the folder of each project. This info was given in the list of the opened project in the "Window" menu.
It was very useful as it allows to find easily a defined version of a project when you work on several versions in parallel.
How to have the name of the project folders associated to each project displayed in the "Window" menu ?
Is there an option somewhere ?
Thanks a lot.
You could Command-click the file icon next to the title in the window's title bar. This shows the path to the file (in this case the project or workspace file) in any Cocoa app. You can even click one of the entries in the popup menu to open that folder in Finder.

How to hide Startup icon in installshield

I create a shortcut on startup folder through installshield. i want to load that exe on startup , but i don't want to show that shortcut in program file--> startup folder, How can i do that, thanks
Don't create a shortcut, use the registry Run keys to start your application instead. e.g.
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

Resources