cant change directories in dos in citrix

im logged into citrix. i have a mapped L drive. when i go to DOS, and type in h:\ cd L:, it take me back to the h drive. how can i keep it to my L drive?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Instead of CD L:\, type L:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ttrbrtsnAuthor Commented:
C:\pushd L: (“L” being the mapped network drive)
Once in L
ttrbrtsnAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for ttrbrtsn's comment #a41044191

for the following reason:

worked good
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Either #a41044139 or #a41044191 works.
Bill PrewCommented:

Did you try the solution provided by NVIT, that will certainly work, and I would suggest it's the preferred approach unless you have some reason that PUSHD is needed?

Just for some additional clarity:

CD will change the default directory on the drive you specify to the directory specified.  It does not however change the current default drive of the command session, as you desired.
L: at the command prompt will actually change the default drive to L:, and will actually place you in the current default directory of that drive, which is normally the root.
PUSHD L: will also change the current default drive to L:, but before doing so it "remembers" the current drive and directory.  It is useful when you want to execute a command or two on the new drive, and then return back to where you started from.  To do that you would later issue the POPD command and it would return you to H: in your example

Hope this helps to clarify.  Certainly the NVIT suggestion was a valid solution, so I would ask that you consider awarding points once you confirm it works for you.

Dirk KotteSECommented:
would suggest to select NVIT's suggestion and spend the points.

additional hint:
c:\user\me\>CD /d e:\TEMP
change dirve to e: and directory within drive e: to e.\temp
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.