1) Create a folder on the C: drive of the target server called SP_BAK
2) Change the Database Name below from YourDBName to the name of the target DB
3) Run the statement on the Target DB
4) If XP_cmdshell is blocked, use the statement included to enable it.
5) The output should now show a separate output for each file created.