newtofoxpro,
only for inspiration from 2.0 (DOS):
proc say_vol_usb
crea table disk_vol (text C(80))
use disk_vol
on error ok = .F.
for ii = 67 to 90
disk = chr(ii)
ok = .T.
cluster = sys(2022,"&disk")
if ok
!dir &disk.: > disk_vol.txt
zap
appe from disk_vol.txt type sdf
if recc() >...
madurrani,
although i have only NT, not vista:
try you already .pif file to run your program ?
Here you may specify exactly both directory and name
for file, serve as "config.nt"...
Unfortunately i do not know, if it is possible in vista.
Tesar
roarlad,
suppose character print, for example 12 character/inch.
Try decrease letter size, to fit half format page,
something as
??? chr(27) + "(s24H"
(24 = 24 character/inch)
Tesar
pcsmiths,
try something as:
use myfile alias first
halfrec = ceil(recc()/2)
copy to sec for recno() > halfrec
sele 0
use sec
sele first
scan
repl field(2) with sec.field(1)
skip in sec
if eof("sec")
exit
endif
endscan
sele first
list off field(1),field(2) to print...
ihabaloul,
accidental "file access denied" may be caused holding it with antivir.
Try exclude .dbf and your index (.cdx is better !)
from checked files.
Tesar
Geland,
list memory to file mymemory.txt
wait wind "See file.."
or simply
disp memo
as first commands, and an appropriate places,
say you if your commands are accepted...
Tesar
Ed,
to use "sdf" type,
each row must ended with CRLF characters.
If you want separate record with ~,
use low level command (fopen, fread, fclose)
Tesar
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.