'Using SCP to copy files from a remote server to external hard drive

I'm having trouble figuring out how to copy a file from a remote server to an external hard drive connected to my local machine. I have cygwin installed in my c drive and I know how to scp files into any directory using:

scp User@remoteserver:/path/to/file.txt /cygdrive/c/path/to/destination

However, I'm not sure how to change the destination to the external hard drive, which I have as the d drive.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source