I searched extensively to resolve my issue, However could not find any solution.
Requirement: Need to checkout ADM project from HEAD.
CVS server name: cvs02dv (CVS is installed on windows)
CVS server directory: c:\cvs\dev (The location were all the files can be accessed using eclipse or any CVS client tool like smartCVS)
Project to be checked out from HEAD: ADM
Using eclipse I can access the files using pserver:user@cvs02dv:c:\cvs\dev
I downloaded CVS client from below site, Unzipped in D:\vinu\installedSW\CVSClient directory.
http://ftp.gnu.org/non-gnu/cvs/binary/stable/x86-woe/cvs-1-11-22.zip
COMMAND USED TO CHECKOUT FROM WINDOW COMMAND LINE:
D:\vinu\installedSW\CVSClient>cvs -d:pserver:usera@cvs02dv:c:\cvs\dev co ADM
ERROR:
cvs checkout: CVSROOT requires a path spec:
cvs checkout: :(gserver|kserver|pserver):[[user][:password]@]host[:[port]]/path
cvs checkout: [:(ext|server):][[user]@]host[:]/path
cvs [checkout aborted]: Bad CVSROOT: `:pserver:user@cvs02dv:c:\cvs\dev'.
APPRECIATE ANY HINT
Finally I am able to resolve the issue, As I suspected the issue was due to CVS Client which I had used.
Please do not use below CVS client as stated in my question
http://ftp.gnu.org/non-gnu/cvs/binary/stable/x86-woe/cvs-1-11-22.zip
Instead download cvs client from below site
http://www.cvsnt.org
Add D:\CVSNT in PATH variable, i.e Update PATH Environment variable with CVSNT path (right click on My Computer -->Advanced System settings --> Environment Variables -> Edit../New.. --> PATH)
Open command prompt to check whether cvs client is in path. Enter cvs -version
C:\test>cvs -version
cvs -z3 -f -d :pserver:username:password@servername:2401:c:\cvs\dev -q checkout -d checkout IRM