adb pull - copy whole folder to computer How do I copy a folder from my android device to a certain folder of my computer?

if I use this command:

adb pull efs


It copies the contents of the efs folder to my computers root directory. I want to copy the whole folder with it contents to a certain destination to my computer.

I have tried with the following for instance, without success

adb pull efs C:\Users


(my android is rooted)

I am using a window shell
To pull files to the C:\Users directory with adb you would need to be in an elevated command prompt. If it is not a necessity to have it in the C:\Users directory, you could pull the files elsewhere. Ex: adb pull C:\Users\[your username]\Desktop.