Windows:如何将驱动器符号链接到另一个驱动器? [英] Windows: How to symlink drive to another drive?

查看:48
本文介绍了Windows:如何将驱动器符号链接到另一个驱动器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个客户端,其数据已从 H 驱动器移动到 I 驱动器,但他们的 Access 导出脚本似乎已将 H 驱动器硬编码为目的地,即使它不再存在于新系统上.我将如何创建映射到 I 驱动器的 H 驱动器?我是一个 Unix/Linux 人.

I have a client whose data has been moved from the H drive to the I drive, but their Access export script seems to have hardcoded the H drive as the destination even though it no longer exists on the new system. How would I create an H drive that maps to the I drive? I'm a unix/linux guy.

我在猜测类似 mklink/d H: I: 的东西?那行得通吗?

I'm guessing something like mklink /d H: I:? Would that work?

推荐答案

不,mklink 不会为你做这件事.您需要做的是创建一个虚拟硬盘驱动器 (VHD) 并将客户端的数据复制到其中.(或修改导出脚本,这是最好的做法.)我使用 Windows 7 来测试我下面的说明.

No, mklink isn't going to do it for you. What you need to do is to create a virtual hard drive (VHD) and copy the client's data to it. (Or modify the export script, which is the best thing to do.) I used Windows 7 to test my instructions below.

开始-> 运行-> diskmgmt.msc(接受所有默认值...下面我没有做任何特别的事情)

Start-> run-> diskmgmt.msc (accept all defaults... I'm not doing anything special below)

从菜单栏中选择操作 -> 创建 VHD

From the menu bar select Action -> Create VHD

选择位置并命名文件(即 vhd)并指定大小,然后单击确定".

Choose the location and name the file (which will be the vhd) and specify the size and click OK.

右键单击磁盘编号(下方将是未知、大小和未初始化").选择初始化磁盘"&点击确定

Right click on the Disk # (underneath will be Unknown and the size and "Not Initialized"). Select "Initialize Disk" & click OK

右击未分配磁盘空间的黑条,选择新建简单卷".一个向导会在第二页打开一个,它允许您分配驱动器号.完成向导,你就大功告成了!

Right click on the black bar of the unallocated disk space and select "new simple volume". A wizard opens up an on the second page it lets you assign the drive letter. Complete the wizard and you're done!

这篇关于Windows:如何将驱动器符号链接到另一个驱动器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆