Solved

Delete a text file when done with it

Posted on 2003-11-26
7
235 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

773 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