短名称仅适用于C驱动器 [英] Short Names only works on C Drive

查看:135
本文介绍了短名称仅适用于C驱动器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找到Windows上的路径短名称。

I am trying to find the short name of a path on Windows.

由于某些原因,下面的命令只能当C驱动器上运行。

For some reason the following command only works when run on the C drive

for /d %I in (*) do @echo %~sI

我想我的D盘上的文件夹的短名称。

I would like the short name of a folder on my D drive.

推荐答案

检查您的8.3记号turnred对其他驱动器:
  http://technet.microsoft.com/en-us/library/ff621566.aspx

Check if your 8.3 notation is turnred on for the other drives: http://technet.microsoft.com/en-us/library/ff621566.aspx

这篇关于短名称仅适用于C驱动器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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