Dude, you do realize that "automagically" is a made-up word , don't you? You
do understand that magic is NOT a part of the SQL Server database, don't
you?
The term, "automagic" was, in fact, created by a marketing department in a
manufacturing company to sell small appliances to housewives in the 1940's
and 1950's--folks who MIGHT have been impressed by the thought of magic
making their jobs easier.
The term was, apparently, picked up by "software types" who don't really
understand how things work. Some of them, therefore, refer to such things as
"automagic" because it's beyond their ability to understand, just like real
"magic".
Once again, I am urging you to take some time away from the forums and try
to figure out how to address questions like this with appropriate, relevant
and, above all, coherent, responses. It will do you a world of good to just
get away for a while. Forget all about the stress and frustration of
constantly embarrassing yourself in public, and maybe even concentrate on
some personal activities that will help you get a better perspective on
life.
Give it a rest, Dude. Give YOURSELF a break. You'll come back refreshed and
happier.
Best of luck to you.
message
this is all I need to do to get this info into a database
xp_cmdshell 'dir e:\ /s'
you can use the insert exec statement to store it into a table
automagically
insert results
xp_cmdshell 'dir e:\ /s'