Hi Krishna,
You can specify the local Windows file path for the file you are copying into HDFS.
For example,
hadoop fs –copyFromLocal weblog_entries.txt /data/weblogs
would pick up weblog_entries.txt that is in your current working directory in the shell terminal.
You could also execute this:
hadoop fs –copyFromLocal D:\localdatat\weblog_entries.txt /data/weblogs
That will pick up weblog_entries.txt from the specified local path.