The default directory for adb pull or adb push is represented by the current directory (aka . ). If you run a command like the following without specifying the target directory
adb pull /boot.txt
the file (if it exists) will be copied to the current directory.
Windows users:
Note the following: if you are using Windows (Vista or later), there is a chance that if the current directory requires elevated write privileges, Windows will quietly replicate the directory structure of your current directory in a special folder called VirtualStore and copy your files.
The full path for VirtualStore : %LOCALAPPDATA%\VirtualStore , which will most likely go to C:\Users\<account_name>\AppData\Local\VirtualStore .
So in the following scenario
C:\> cd "C:\Program Files (x86)\MyCustomADBInstallLocation" C:\Program Files (x86)\MyCustomADBInstallLocation> adb pull /boot.txt
your boot.txt file will be in this folder
C:\Users\<account_name>\AppData\Local\VirtualStore\Program Files (x86)\MyCustomADBInstallLocation\
asm00 source share