Not sure if you can, easier to write it in code, at it's most basic level:
Dim sFileLocation as string
sFileLocation = InputBox("Enter File Location:")
DoCmd.TransferText acImportDelim, "Spec Name", "Table Name", sFileLocation
The transfertext line would depend on what you were trying to...