Solved

Delete a text file when done with it

Posted on 2003-11-26
7
254 Views
Last Modified: 2010-04-17
I want to delete a text file when I have updated my access table with it, is ther a way in access
0
Comment
Question by:CMARKSON
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
7 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 500 total points
ID: 9824243
Hi CMARKSON,

You should be able to use:

Kill "c:\myfolder\mytextfile.txt"

Tim Cottee MCSD, MCDBA, CPIM
Brainbench MVP for Visual Basic
http://www.brainbench.com
0
 
LVL 4

Expert Comment

by:void_main
ID: 9825013
Access has a Visual Basic running in the background (Macros). You can easily delete files with the correct commands. The >>kill "filename.txt"<< is the best but you also can write >>shell "del filename.txt"<<

this should do the job
0
 
LVL 4

Expert Comment

by:void_main
ID: 10319740
TimCottee should earn all 500 points
0
 
LVL 1

Expert Comment

by:JayWhite
ID: 10323239
TimCottee should earn all 500 points
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question