Transfer Text Problem - File Name too Long

T

tmort

I am working on and import form so the user can import multiple files into a
database. I have it set to work except many of the file names are longer
than 64 characters. It needs to be this way.

I would like to rename the filename right before the transfertext operation
but can't figure out how to.

Thanks for any help
 
R

Robert Morley

You're looking for the "Name" command. Here's an example:

Name "My really long filename.txt" As "ShortName.txt"


Rob
 
K

Ken Snell \(MVP\)

You can use the Name statement to rename a file:

Name "C:\Path\OriginalFilename.txt" As "C:\Path\NewFileName.txt"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top