如何在Windows服务中为Clearcase View映射网络驱动器? [英] how to map network drive for Clearcase View in Windows service?

查看:44
本文介绍了如何在Windows服务中为Clearcase View映射网络驱动器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Windows服务内的网络驱动器上映射一个清晰的视图。

我尝试使用 net use 命令,但是没有

I want to map a clearcase view on network drive inside a windows service.
I have tried with net use command, but it did not work properly.

推荐答案

您应该能够运行与在路径过长时使用,即 subst

You should be able to run the same kind of command than the one used when paths are too long, which is subst:

subst X: c:\path\to\my\View # for snapshot view
subst X: M:\myView # for dynamic view

以将视图映射到驱动器号。

in order to map a view to a drive letter.

这应该在服务内起作用,只要:

This should work from within a service, provided:


  • 您正在使用Windows帐户(而不是本地系统帐户)

  • 动态视图已处于稳定状态rted(在 M:\ MVFS 安装点驱动器中可见)

  • you are using your Windows account (and not the "Local System account")
  • the dynamic view is already started (and visible in the M:\ MVFS mounting point drive)

这篇关于如何在Windows服务中为Clearcase View映射网络驱动器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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