I would like to run an MS-DOS command from Access (VBA) in order to read
a directory tree (into an external file). The command works OK from the
command (DOS) window (in XP) but I can't seem to get it to work from
MS-Access (2003). I tried a simplified command, DIR, but also this
wouldn't work.
I have been using the following syntax:
Shell("DIR")
.... which is maybe wrong?
I'm sure that this is a simple thing and am hoping that someone out
there can give me a quick tip?
Many thanks,
Alan Searle
a directory tree (into an external file). The command works OK from the
command (DOS) window (in XP) but I can't seem to get it to work from
MS-Access (2003). I tried a simplified command, DIR, but also this
wouldn't work.
I have been using the following syntax:
Shell("DIR")
.... which is maybe wrong?
I'm sure that this is a simple thing and am hoping that someone out
there can give me a quick tip?
Many thanks,
Alan Searle
Comment