vc6.0设置为双击就可以打开多个工程

来源:互联网 发布:停止nginx的命令 编辑:程序博客网 时间:2024/06/06 20:00

方法一:

打开cmd:

1)输入assoc .dsp回车,确认后缀为.dsp的文件类型为dspfile;
2)输入assoc .dsw回车,确认后缀为.dsw的文件类型为dswfile;
3)打开vc6的快捷方式的属性,拷贝vc6的路径,注意连两边的双引号都一起拷贝,比如时候这个路径:
"C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\MSDEV.EXE"
4)在cmd窗口,输入ftype dspfile="C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\MSDEV.EXE" %1
5)在cmd窗口,输入ftype dswfile="C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\MSDEV.EXE" %1

设置结束,双击不同的工程文件,看是否可同时打开多个工程文件吧。


方法二:

控制面板---文件夹选项----文件类型----找到DSW---高级---选中open----编辑----取消使用DDE就可以了。(未实验)


方法三:同时解决直接双击打不开工程的问题

打开工程目录文件夹,点击工具”-文件夹选项操作界面如下:
    VC6无法打开桌面工程dsw文件,出现File not found. Please verify that the path and file name are incorrect. Please verify that the path and file name 错误. - 博云 - 博云的博客
 
    在出现界面中选择“文件类型”,操作界面如下:
    VC6无法打开桌面工程dsw文件,出现File not found. Please verify that the path and file name are incorrect. Please verify that the path and file name 错误. - 博云 - 博云的博客
 
    按下键盘上的d键,查找关联的.dsw工程文件,找到对应项:
    VC6无法打开桌面工程dsw文件,出现File not found. Please verify that the path and file name are incorrect. Please verify that the path and file name 错误. - 博云 - 博云的博客
 
    点击高级:
    VC6无法打开桌面工程dsw文件,出现File not found. Please verify that the path and file name are incorrect. Please verify that the path and file name 错误. - 博云 - 博云的博客
 
    点击更改图标,选择VC6安装目录下的msdev.exe路径(默认安装为C:\Program Files\Microsoft Visual Studio\MSDev98\Bin\MSDEV.EXE),出现的界面的如下:
    VC6无法打开桌面工程dsw文件,出现File not found. Please verify that the path and file name are incorrect. Please verify that the path and file name 错误. - 博云 - 博云的博客
 
    选中上面最后一个图标,即未安装其它VC工具前的工程文件图标,点击确定,上面第二个窗口左上方的图标变成了我们熟悉的图标了,如下图所示:
    VC6无法打开桌面工程dsw文件,出现File not found. Please verify that the path and file name are incorrect. Please verify that the path and file name 错误. - 博云 - 博云的博客
 
    窗口左上边的图标变成了我们熟悉的图标了,接下来点击新建,输入操作字符串为”Open”,应用程序命令字符串栏填写时,点击浏览,选择VC6的安装目录下的msdev.exe的路径,在后面加%1,(默认安装情况下的命令字符串为"C:\Program Files\Microsoft Visual Studio\MSDev98\Bin\MSDEV.EXE" %1),后面的%1参数可以让vc6双击工程文件时自动以多实例方式运行,也就是可以双击同时打开多个工程,这样做也让双击打开工程变得更方便了。
    VC6无法打开桌面工程dsw文件,出现File not found. Please verify that the path and file name are incorrect. Please verify that the path and file name 错误. - 博云 - 博云的博客
 
    点击确定,OK了。

原创粉丝点击