There are various ways of making a script in this case to make slides, the 1st step is to make a txt file with all the dwgnames.
You may need path as well, for me I use the support paths so they can be found.
Ok so a quicky using windows CMD dir *.dwg <dirlst.txt /b will make a text file with dwg names.
Then I use WORD as it lets you replace end of line with text. Then save as a script .scr