hi
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

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

Try cd "program files"

'cd \progra~1' works as well. You can also type cd \progra then hit the TAB key to autofill the rest.

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.