Solved

Delete a text file when done with it

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ejb stateless example 2 67
How to concatenate fields in zpl, and how to use conditional statement? 3 119
Assignment from incompatible pointer type? 2 76
Java array 10 86
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
In this post we will learn different types of Android Layout and some basics of an Android App.
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 …

734 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