Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

windows 95 format option 1

Status
Not open for further replies.

rfeenie

Technical User
Sep 29, 2000
292
GB
hello

does anyone know of a utility ( or otherwise) to disable the format c: option from within windows ? [sig][/sig]
 
Hi,

I am guessing that the windows format uses the same program as the dos format. You could either remane or delete format.com from the hard disk.

Or I believe it is a option in the zero access kit (ZAK) for win9x, this can be downloaded from the website. I think.

Not much of a help I know but it may give something to go on.

Paul [sig][/sig]
 
sorry,

If I had a brain I would be dangerous

Its the Zero Admin Kit!!!! [sig][/sig]
 
I have to agree with paulovey. You should rename the format.com to something else then creat a batch file in one of the path-ways and make it require 2 parameters so that it can't be run accidently.

Example: REN format.com noform.com

Example of bat file:

@echo off
cls
if %%2)==(MiggyD) goto OK1
goto Fini

:OK1
if %%1!==! goto DriveErr
call NoForm.com %1 %3 %4 %5 %6
goto Fini

:DriveErr
echo "you didn't put in a drive letter."
echo .
echo "Syntax: FORMAT drive: password [other options--/s | b | u | etc]
echo .

:Fini
REM **end of program**

That's the best you can hope for. I know this isn't hi-tech but hey! sometime the simplist things ARE the best way to go.

Good luck,
--MiggyD [sig]<p> <br><a href=mailto: > </a><br><a href= > </a><br>English is too hard to learn, the vowles change too much like come/home, comb/tomb, book/school, high/bye/sty, etc., etc. So should I say Geez or Sheez or Cheeze? hehe.[/sig]
 
thanks chaps i'll give both of those a whirl

[sig][/sig]
 
where is this ZAK stuff located ? [sig][/sig]
 
rfeenie,

You can pull in down from the microsoft site, I forget where, but if you search for ZAK or Zero Admin Kit from the main downloads page, it will take you there....

Paul [sig][/sig]
 
Ahhh... the format drive dialog box is generated by USER32. You could try disabling the DOS format as MiggyD suggested but in order to stop formats after right-clicking a drive icon you should use the Policy Editor (not my choice) or a third-party solution like ZAK, as Paulovey suggested (not my choice, either).

VCA.gif

[sig]<p> <br><a href=mailto: > </a><br><a href= plain black box</a><br><i>"I'm all right now, Dave. Really, I am."<br>
<b>HAL, </i><u>2001 a Space Odyssey</u></b><br>
<br>
[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top