Listing Down Server Directories in SQL Server

Listing down the directories in the server

Below is the command used to list down the directories in the server.

exec master..xp_cmdshell 'dir'


     aa.png
Ebook Download
View all
Learn
View all