Formatting a floppy using the system command
Kenneth Brody
kenbrody at bestweb.net
Fri Nov 4 12:37:26 PST 2005
Quoting Don Coleman (Fri, 4 Nov 2005 15:25:43 -0500):
[...]
> System "format a: & pause" and get 'format' is not recognized as an
> internal or external command, operable program or batch file (from
> Windows)
Is the "format" executable in the path?
> System "C:/windows/system32/format a: & pause" yields
> Createprocess() failed 2(0x00000002)
> Comspec=""
> Command=C:\windows\system32\format a: & pause"
> Press Enter:
Is "c:\windows\system32\format" the correct path?
> What am I doing wrong?
Pure guess: PATHEXT does not list ".com" as an option, and so it will
not execute "format.com".
What if you system "format.com a: & pause"?
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list