我有一个客户端,其数据已从H驱动器移动到I驱动器,但他们的Access导出脚本似乎已将H驱动器硬编码为目标,即使它在新系统上不再存在。 我将如何创建映射到I驱动器的H驱动器? 我是一个unix / linux的家伙。
我正在猜测像mklink /d H: I: 这会起作用吗?
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.
I'm guessing something like mklink /d H: I:? Would that work?
最满意答案
不,mklink不会为你做。 你需要做的是创建一个虚拟硬盘(VHD)并将客户端的数据复制到它。 (或修改导出脚本,这是最好的选择。)我使用Windows 7来测试下面的说明。
开始 - >运行 - > diskmgmt.msc(接受所有默认值...我没有做任何特别的下面)
从菜单栏选择操作 - >创建VHD
选择位置并命名文件(这将是vhd)并指定大小,然后单击确定。
右键单击磁盘#(下面将是未知的,大小和“未初始化”)。 选择“初始化磁盘”,然后单击确定
右键单击未分配磁盘空间的黑色栏并选择“新建简单卷”。 一个向导在第二页打开,它可以让你分配驱动器号。 完成向导,你就完成了!
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.
Start-> run-> diskmgmt.msc (accept all defaults... I'm not doing anything special below)
From the menu bar select Action -> Create 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!
更多推荐
发布评论