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
 
Top