Deleting a File in Code

S

Sharkbyte

I am trying to figure out the code to delete a file from code within Access.
I have the file location/name, I'm stuck trying to come up with the code.

Any help is appreciated.

Thanks.

Sharkbyte
 
J

John W. Vinson

I am trying to figure out the code to delete a file from code within Access.
I have the file location/name, I'm stuck trying to come up with the code.

Any help is appreciated.

The command is...

KILL <filename>
 
H

Hans Up

Sharkbyte said:
I am trying to figure out the code to delete a file from code within Access.
I have the file location/name, I'm stuck trying to come up with the code.

Kill C:\pathto\yourfile
 

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