Solved

Delete a text file when done with it

Posted on 2003-11-26
7
221 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
  • 2
7 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
TimCottee should earn all 500 points
0
 
LVL 1

Expert Comment

by:JayWhite
Comment Utility
TimCottee should earn all 500 points
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now