'How do I access all the folders under Users folders in c drive in another server using command prompt

I know the command to get the user folders locally : cd /d C:USers & dir but how do I get it for remote server from local system using windows commands



Sources

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

Source: Stack Overflow

Solution Source