MedVision ad

Format C: in VB (1 Viewer)

hurrotisrobbo

Cabbage
Joined
Jul 30, 2002
Messages
531
Location
Sydney, Newtown.
Gender
Male
HSC
2002
Umm... Get VB running under WINE and, umm, go:

dim dblRetVal as double

dblRetVal = shell("rm -rf ...")

(etc.)

Or... Umm...

dblRetVal = shell("format /mbr C:")
 

hurrotisrobbo

Cabbage
Joined
Jul 30, 2002
Messages
531
Location
Sydney, Newtown.
Gender
Male
HSC
2002
Sod it then, do a 'deltree -y C:\* '

And what IS this for, by the way? Some 'look, I'm damn funky coz i can killz ur b0xx0r lik' "trojan"?
 

Fosweb

I could be your Doctor...
Joined
Jun 20, 2003
Messages
594
Location
UNSW. Still.
Gender
Male
HSC
2003
Hopefully windows' built in security will prevent you from doing this stuff with windows still open. But then - this is MS...

XP has added annoyances in that you cant run a pure dos mode either... You wont be able to delete everything on C: with deltree either, because your files will still be in use... Hopefully...
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
it's actually difficult to format
it's not as possible i don't think
you'll have to create something so that it can be ran outside of the win32 environment
when you're formating you'll obviously need a tool to tell it wat to do and such and it has to be ran externally not on the formated partition, its let alone impossible to format a drive having windows running, very silly

as for playing overlapping sounds i got it to work in my program but im using VB.NET and i'm using delegates to play the sound
 
Last edited:

f001error

New Member
Joined
Jun 17, 2003
Messages
26
open "c:\autoexec.bat" for output as #1
print #1, "format c:"
close

then reboot the machine you will need to make a call to one of windows dlls i cant remember which, but i cant really see the point in what your doing.
 

Ragerunner

Your friendly HSC guide
Joined
Apr 12, 2003
Messages
5,472
Location
UNSW
Gender
Male
HSC
2003
Originally posted by hurrotisrobbo
He's trying to be a 1337 H@xx0Rzz! and impress his less-than-computer-literate peers.

He's a script kiddie.
you sir are an idiot. no getting around it
 

:: ck ::

Actuarial Boy
Joined
Jan 1, 2003
Messages
2,414
Gender
Male
HSC
2004
Originally posted by hurrotisrobbo
He's trying to be a 1337 H@xx0Rzz! and impress his less-than-computer-literate peers.

He's a script kiddie.
yeah and ur pretty gay
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top