Rajesh.R wrote:
    Please refer the screen shot.What's going wrong here? I have enclosed the directory path for lcd command with double double-quotes to make sure the spaces in the path are picked up while parsing. 
Note: I am using winscp version 4.0.x    
Pasting the error below in text for those who have problems viewing the screenshot - 
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
U:\>"C:\Program Files\WinSCP\winSCP" /command "option batch on"  "option confirm
 off" "open test_user_2:xxxxxxxx@10.38.xxx.xx:5115" "cd /RCU/outbox" "lcd ""D:
\Documents and Settings\"""
batch        on
confirm      off
Searching for host...
Connecting to host...
Authenticating...
Using username "test_user_2".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] test_user_2@10.38.xxx.xx
/RCU/outbox
Too many parameters for command 'lcd'.
winscp> exit
U:\>