Previous Thread
Next Thread
Print Thread
Rate Thread
#17660 06/15/02 10:51 PM
A
Anonymous
Unregistered
Anonymous
Unregistered
A
I was wondering what the code was to delete files. Like, this one project i'm working on, I want it to delete fiels on load. The files are the texts in C:\Windows\Fonts. Delete the files all at the same time.

Sponsored Links
▼ Sponsored Links ▼ ▲ Sponsored Links ▲
#17661 06/16/02 02:11 PM
Joined: Feb 2002
Posts: 7,204
Likes: 11
Community Owner
Community Owner
Joined: Feb 2002
Posts: 7,204
Likes: 11
just make a batchfile lol... del *.txt heh


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#17662 06/17/02 05:16 AM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
psh, don't listen to Gizmo. Just use the "kill" command.

kill "C:\Windows\Desktop\Example.txt"


Domain Registration, Hosting, Management
http://www.dollardns.net
#17663 06/17/02 10:17 PM
A
Anonymous
Unregistered
Anonymous
Unregistered
A
Kill command works...not for font files though...cuz it has a file access error.

#17664 06/18/02 05:34 AM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
heh, it won't work if the file is in use by another process.


Domain Registration, Hosting, Management
http://www.dollardns.net
#17665 06/18/02 08:47 AM
A
Anonymous
Unregistered
Anonymous
Unregistered
A
Any way to get these font files deleted???

#17666 06/18/02 01:31 PM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
Sure. The proper way to manage your fonts is via the "Fonts" icon in your control panel. You can do this from code too - but I'm starting to think you were just trying to do it from code cause you couldn't do it manually.


Domain Registration, Hosting, Management
http://www.dollardns.net
#17667 06/18/02 01:51 PM
A
Anonymous
Unregistered
Anonymous
Unregistered
A
No I just wanted to do it thru codes to pretty much learn. And [censored] with my friends. Like send them a VB prog that on load it deltes like the common font Times New Roman or Arial.


Link Copied to Clipboard
Member Spotlight
Gremelin
Gremelin
Portland, OR; USA
Posts: 7,204
Joined: February 2002
Forum Statistics
Forums41
Topics33,839
Posts68,797
Members2,177
Most Online73,244
Nov 9th, 2025
Latest Postings
Top Posters
UGN Security 41,392
Gremelin 7,204
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Crime 1
Ice 1
Dartur 1
Cyrez 1
Powered by UBB.threads™ PHP Forum Software 8.0.0