如何将HOMEDRIVE从H驱动器设置为C驱动器 [英] How to set HOMEDRIVE from H drive to C drive

查看:238
本文介绍了如何将HOMEDRIVE从H驱动器设置为C驱动器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在查看SO中的示例,但我认为有些答案已经过时,有些似乎无法应用.

I have been looking at examples in SO but I think some of the answers are outdated and some I don't seem I can apply.

基本上,我想将HOMEDRIVE设置为从H驱动器指向C驱动器,但是当我尝试更改它时,在打开命令窗口后它又恢复为H驱动器.这可能是由于登录引起的,但是有人可以给我指导以正确指向我的HOMEDRIVE吗?

Basically I want to set my HOMEDRIVE to point to the C drive from the H drive but when I try to change this, it reverts back to H Drive after I open up command window. This maybe due to login but can somebody give me a guide in order to point my HOMEDRIVE correctly?

顺便说一下,我在环境变量中看不到HOMEDRIVE.我曾尝试过更改regedit,但没有运气.

I cannot see HOMEDRIVE in the environment variables by the way. I tried changing in regedit earlier but no luck.

谢谢

推荐答案

如果其他人对我有此问题,则该问题在工作计算机上,而我的H驱动器为网络驱动器,并且从管理员级别将其设置为HOMEDRIVE .我需要使用Kubernetes,它没有映射到C驱动器.当我需要使用kubernetes时,我刚刚断开了H:驱动器.

In case someone else has this issue for me it was on a work computer and my H drive was a network drive and it was set as HOMEDRIVE from an admin level. I was needing to use Kubernetes and it was not mapping to the C drive. I just disconnected my H: drive when I needed to work with kubernetes.

这篇关于如何将HOMEDRIVE从H驱动器设置为C驱动器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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