Formatting a floppy using the system command
Don Coleman
dcoleman at dgcreact.com
Fri Nov 4 12:25:43 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 tried
System "format a: & pause" and get 'format' is not recognized as an
internal or external command, operable program or batch file (from Windows)
------------
System "C:/windows/system32/format a: & pause" yields
Createprocess() failed 2(0x00000002)
Comspec=""
Command=C:\windows\system32\format a: & pause"
Press Enter:
What am I doing wrong?
Don Coleman
More information about the Filepro-list
mailing list