PC Review


Reply
Thread Tools Rate Thread

delete a text file

 
 
=?Utf-8?B?TWFyazE=?=
Guest
Posts: n/a
 
      28th Mar 2007
Anybody know the easiest way to delete a text file after I've imported it's
data into my database?

I've got this bit of code, but it tells me that it can't find the file. I
run it from the CMD.exe line and it works fine:

Call Shell("DEL
\\HORSEISLAND\NETSHARE\MEDICAL\OOQ\SOLUTIONSWORLD\WORLDS\MARK\WORK\TEST.TXT",
1)
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      28th Mar 2007
In the code window, see help on:
Kill

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Mark1" <(E-Mail Removed)> wrote in message
news:9471DC8B-255A-4950-9D0B-(E-Mail Removed)...
> Anybody know the easiest way to delete a text file after I've imported
> it's
> data into my database?
>
> I've got this bit of code, but it tells me that it can't find the file. I
> run it from the CMD.exe line and it works fine:
>
> Call Shell("DEL
> \\HORSEISLAND\NETSHARE\MEDICAL\OOQ\SOLUTIONSWORLD\WORLDS\MARK\WORK\TEST.TXT",
> 1)


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: delete a text file =?Utf-8?B?RGFuaWVs?= Microsoft Access 0 28th Mar 2007 01:50 AM
RE: delete a text file =?Utf-8?B?TWFyazE=?= Microsoft Access 2 28th Mar 2007 01:06 AM
How to delete some text in a file ad Microsoft C# .NET 5 12th Jun 2005 11:16 PM
End of file marker from Text File - Delete? 43fan Microsoft Excel Programming 0 29th Apr 2004 06:06 PM
Batch File to delete subdirectories that are named in a text file =?Utf-8?B?RGF2ZUY=?= Windows XP Performance 2 12th Feb 2004 09:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:09 PM.