set path菜单在哪
时间: 2024-03-04 09:51:29 浏览: 30
在 MATLAB 中,你可以通过以下步骤打开 Set Path 菜单:
1. 点击 MATLAB 工具栏上的 “Home” 标签
2. 在 “Environment” 部分中,点击 “Set Path” 图标
3. 这时会弹出一个 “Set Path” 窗口,其中列出了 MATLAB 的搜索路径以及你已经添加的文件夹路径
4. 在窗口中,你可以添加、删除或者编辑文件夹路径。点击 “Add Folder” 按钮,选择你想要添加的文件夹即可。
另外,你也可以在 MATLAB 命令窗口中输入 "pathtool" 命令,来直接打开 Set Path 菜单。
相关问题
Set Path按钮在哪儿
Set Path按钮在不同的软件中可能位置不同。一般来说,它通常在软件的菜单栏或工具栏中,或者可以通过快捷键来访问。在Adobe Photoshop中,Set Path按钮位于路径面板中。在Adobe Illustrator中,Set Path按钮位于笔刷工具栏中。在Autodesk Maya中,Set Path按钮位于菜单栏的Edit选项下。在Microsoft Windows操作系统中,Set Path按钮位于环境变量设置中。
用c++编写在windows10自动显示到开始菜单栏的程序
要将程序自动显示到 Windows 10 开始菜单栏中,可以使用 Shell API 和注册表编辑器。以下是一个简单的示例程序,它使用 Shell API 将程序添加到开始菜单栏中:
```
#include <Windows.h>
int main(int argc, char* argv[])
{
// 获取开始菜单栏的路径
WCHAR startMenuPath[MAX_PATH];
SHGetSpecialFolderPathW(NULL, startMenuPath, CSIDL_COMMON_PROGRAMS, FALSE);
// 创建程序快捷方式的路径
WCHAR shortcutPath[MAX_PATH];
swprintf_s(shortcutPath, MAX_PATH, L"%s\\MyProgram.lnk", startMenuPath);
// 创建程序快捷方式
CoInitialize(NULL);
IShellLinkW* shellLink;
HRESULT hr = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLinkW, (LPVOID*)&shellLink);
if (SUCCEEDED(hr))
{
shellLink->SetPath(L"C:\\Path\\To\\MyProgram.exe"); // 设置程序路径
shellLink->SetDescription(L"My Program"); // 设置程序描述
shellLink->SetWorkingDirectory(L"C:\\Path\\To\\WorkingDirectory"); // 设置工作目录
// 获取快捷方式对象
IPersistFile* persistFile;
hr = shellLink->QueryInterface(IID_IPersistFile, (LPVOID*)&persistFile);
if (SUCCEEDED(hr))
{
// 保存快捷方式
persistFile->Save(shortcutPath, TRUE);
persistFile->Release();
}
shellLink->Release();
}
CoUninitialize();
// 更新开始菜单栏
SHChangeNotify(SHCNE_CREATE, SHCNF_PATH, startMenuPath, NULL);
return 0;
}
```
这个程序创建一个名为“MyProgram”的快捷方式,将其保存到开始菜单栏中,然后更新开始菜单栏。请注意,这个程序需要以管理员身份运行才能将快捷方式添加到开始菜单栏中。
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)