Your browser does not seem to support CSS. If images appear below, please disregard them.
toggle
May
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Sponsored Links
Latest Postings
Topic Options
Rate This Topic
#17660 - 06/16/02 05:51 AM Deleting

**DONOTDELETE**
Unregistered
Anonymous
Unregistered


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.

Top
Sponsored Links
#17661 - 06/16/02 09:11 PM Re: Deleting
Joined: Feb 2002
Posts: 7,194
Gremelin Offline
Community Owner
Gremelin Offline

Community Owner

Joined: Feb 2002
Posts: 7,194
Portland, OR; USA
just make a batchfile lol... del *.txt heh


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
Top
#17662 - 06/17/02 12:16 PM Re: Deleting
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
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
Top
#17663 - 06/18/02 05:17 AM Re: Deleting

**DONOTDELETE**
Unregistered
Anonymous
Unregistered


Kill command works...not for font files though...cuz it has a file access error.

Top
#17664 - 06/18/02 12:34 PM Re: Deleting
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
heh, it won't work if the file is in use by another process.


Domain Registration, Hosting, Management
http://www.dollardns.net
Top
#17665 - 06/18/02 03:47 PM Re: Deleting

**DONOTDELETE**
Unregistered
Anonymous
Unregistered


Any way to get these font files deleted???

Top
#17666 - 06/18/02 08:31 PM Re: Deleting
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
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
Top
#17667 - 06/18/02 08:51 PM Re: Deleting

**DONOTDELETE**
Unregistered
Anonymous
Unregistered


No I just wanted to do it thru codes to pretty much learn. And fuck with my friends. Like send them a VB prog that on load it deltes like the common font Times New Roman or Arial.

Top

Member Spotlight
Gremelin

Gremelin
Portland, OR; USA
Posts: 7,194
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums46
Topics45,730
Posts80,898
Members2,157
Most Online1,567
Apr 25th, 2010
Top Posters(All Time)
UGN Security 38,893
Gremelin 7,194
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Newest Members
Herbert_Sherbert, codemauve, Lillysdragon1984, Brewwit, boa
2157 Registered Users
Who's Online Now
1 registered members (Cyrez), 3 guests and 1 spider.
Latest News