|
-
Feb 3rd, 2000, 04:15 AM
#1
Thread Starter
Hyperactive Member
Is there a way through code to delete a file? and if it deletes it will it send it to the rBin or will it just totaly disappeer. If it goes to the rBin is there a way to delete it from the rBin? Thanks
-
Feb 3rd, 2000, 04:29 AM
#2
Hyperactive Member
use Kill strFileName where strFileName is the full path and filename of the file you want to delete
-
Feb 4th, 2000, 07:01 AM
#3
Thread Starter
Hyperactive Member
hey that isn't working agh why? i put this
Kill "C:\WINDOWS\Profiles\Chris\Desktop\Visual Basic\Programs\Vocab Builder\Vocab Lists\Bryan.ini"
and it didn't work why? thanks!!
oh and umm that is the correct path. it said compile error:
Wrong number of arguments or invalid property assignment
------------------
Sincerely,
Chris
:-) ;-)
just have fun out there and live life to the fullest while it is still here
Email [email protected]
[This message has been edited by PITBULLCJR (edited 02-04-2000).]
-
Feb 4th, 2000, 07:51 AM
#4
Thread Starter
Hyperactive Member
netsurfer you out there please help or anyone else I would aprecitate it!! thanks!!
------------------
Sincerely,
Chris
:-) ;-)
just have fun out there and live life to the fullest while it is still here
Email [email protected]
-
Feb 4th, 2000, 07:58 AM
#5
netSurfer gave you the correct syntax, try it on a file in the root of the C Drive, just to test it, there's no reason why it shouldn't work, ie.
Kill "C:\TheFile.txt"
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|