G
Guest
I am new to Access and I would like to import a directory list into a table.
I think I have the first part figured out. I can use a batch file or DOS
commands to create a CSV file with the current list. The DOS commands I think
should work are as follows:
del /q "C:\my files\directory.csv"
dir /b c:\ > c:\directory.csv
This deletes any existing directory.csv file then generates a new
directory.csv file that contains the current directory list. However, the
path (C:\my files\) are not in the CSV document.
Now my question is how do import the CSV file and add the path (C:\my files)
to the beginning? I also want to make the table hyperlink to the files.
I think I have the first part figured out. I can use a batch file or DOS
commands to create a CSV file with the current list. The DOS commands I think
should work are as follows:
del /q "C:\my files\directory.csv"
dir /b c:\ > c:\directory.csv
This deletes any existing directory.csv file then generates a new
directory.csv file that contains the current directory list. However, the
path (C:\my files\) are not in the CSV document.
Now my question is how do import the CSV file and add the path (C:\my files)
to the beginning? I also want to make the table hyperlink to the files.