Formatting a floppy using the system command

Don Coleman dcoleman at dgcreact.com
Mon Oct 31 13:32:19 PST 2005



-----Original Message-----
From: Kenneth Brody [mailto:kenbrody at bestweb.net] 
Sent: Monday, October 31, 2005 3:58 PM
To: Don Coleman
Cc: filePro List
Subject: Re: Formatting a floppy using the system command

Quoting Don Coleman (Mon, 31 Oct 2005 15:47:39 -0500):

> Why can't I format a floppy from within fP such as:
>
> System "format a:";end
>
> Also tried:
>
> AA(10,*)="FORMAT A:"
>
> System AA;end
>
> Tested in conjunction with @KEY in *clerk.  If this works successfully I
> will ultimately be used in *report.  fP v5.0.14RN9 Network Native on WIN
> XP Professional.
>
> Nothing happens other than the clerk screen moves up 1 row.  Have I
> broken one of the cardinal rules by attempting this?  I also know this
> is so 80-ish but if it helps my client is a mullet-aficionado(sp?)

"Works fine here."

What happens if you try:

    system "format a: & pause"

This will give you the "press any key to continue" prompt after running
the format command.  Do you get any error messages?

--

Ken:

I get the "format is not recognized as an internal or external command,
batch file ... from windows.  I tried adding the full path to the format
command System C:\WINDOWS\SYSTEM32\FORMAT.COM A: & pause" and I no response
other than my *clerk screen moving up one record.  If I:

System "C:\WINDOWS\SYSTEM32\FORMAT A: & pause";end I get a createprocess
failed from Windows.

Don Coleman




More information about the Filepro-list mailing list