vin_eets wrote:
> I am using windows
Then you will need to be aware of windows specific conventions.
> I wanna copy a file in folder from one location to another folder in another
> drive.
>
> Its working fine but not when file name contain spaces i.e. if the filename
> is a b c
>
> What would be script to acheive this functionality
You will need to quote the filename to preserve the spaces.
$ cp "a b c" /some/other/directory/
Bob