Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am wondering what is the command in Windows to show the current local directory? I am now working in PUTTY psftp mode, so the current directory is not shown in prompt.

Also is there GUI for ssh and sftp under windows? I don't think PUTTY offer anything GUI?


share|improve this question
up vote 2 down vote accepted

To run a command against the local machine, use ! before the command. So to see the local current directory on a window machine use !cd (since CD by itself on windows reports the current directory). To see the directory listing of the current directory use !dir instead (which would also show what the current directory path is along with the directory contents).

For graphical SFTP programs, there is WinSCP as mentioned by Slobo, as well as Filezilla. There may be others since most FTP programs probably have started including SFTP support along with normal FTP support (and SCP as well quite possibly).

share|improve this answer
Thanks! Why local directory does not change with "! cd .."? My current directory is always "C:\Windows\system32". – Tim Mar 25 '10 at 10:45
To change the local directory you use the lcd command (without the ! character). So if you type in at the ftp prompt 'lcd C:\windows' you'd change the local directory to C:\Windows. – Matrix Mole Mar 25 '10 at 11:40

For GUI SFTP client see WinSCP

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.