PDA

View Full Version : Create a new folder by Logon Script? (W2K)



thCA
07-01-2003, 04:31 AM
Hi!

I have created a Logon script that among other, creates a new folder. Like this:

if exist p:\wts goto end1
md p:\wts
:end1

however the script creates a file called wts and not a folder?

any idea why?

ps. this is in relation to redirecting desktop icons in a terminal server environment

jdharm
07-01-2003, 09:12 AM
Does the command work properly if you use it in a CMD and/or COMMAND window?

Maybe try changing md to mkdir? (Though I wouldn't think it would matter, but who knows?)

Josh
<a target="_blank" href=http://www.jdharm.net>www.jdharm.net</a>