am unable to chage directory in windows server command prompt ie for example
cd C:Program Files

i am getting the error as " A positional parameter cannot be found that accepts argument 'Files'. "

can you please help with correct way
thanks in advance

Edited by Gribouillis: Windows question. Moving to appropriate forum.

4 Years
Discussion Span
Last Post by venkaaaaat

Because of the spans between the words, you will need to use quotes.

Try cd "program files"


If you do not add the \ after c: or whatever drive you are working in, the command will not work. It is easier to just drop the drive name all together, and just do the following as an example "\Program Files" without the quotes.

Now there is of course Midnight Commander for Windows http://sourceforge.net/projects/mcwin32/ which allows you to work in folders, or move files across folders or drives, or Double Commander http://sourceforge.net/projects/doublecmd/?source=recommended or Total Commander http://www.ghisler.com/ Another is WinSCP http://winscp.net/eng/index.php

Windows Command window is too crippled, for some of the stuff that needs to be done, especially when it comes to working with servers.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.