How to create a Global DOS Device on Terminal Server?

Hi,

I have a problem to create a Global DOS Device with DefineDosDevice in user
mode on Terminal Server, I do something like this,

DefineDosDefine(DDD_RAW_TARGET_PATH, “Z:”, “\Device\MyFileSystem\Z:”), or

DefineDosDefine(DDD_RAW_TARGET_PATH, “Global\Z:”,
“\Device\MyFileSystem\Z:”),

but they do not work, I only can see Z driver from Local or telnet session,
but can not see it from TS Client session, my OS is windows 2000, and I use
system account privilege to define this DOS device. What is it wrong with
me? or need to do something in kernel mode?

Thanks.

Tao

> I have a problem to create a Global DOS Device with DefineDosDevice in

user
mode on Terminal Server, I do something like this,

I think for TS in general, you will have to do this in the
user mode application which runs in the terminal services
session.

From the global system service, you can affect the local
things only.

L.