[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Help using call system using



This code works:

call system using 'sleep 5' #were_you_able_to_get_to_sleep wait


But this code does not:


   call system using $fname_of_bat_file
#were_you_able_to_get_filedate wait
 show #were_you_able_to_get_filedate
 do showtime('bb',-1,'')
 call system using 'C:\f343519.bat' #_w wait
 show #_w
 call system using 'dir & pause' #_ww
 show #_ww
 call system using 'dir>C:\SHIT1.TXT' #ww WAIT
 show #ww
 call system using 'dir' #_ww WAIT
 show #_ww

as evidenced by the four non-zero return values:

04/15/2002 04:37:05 PM  -  bb
1.000000
2.000000
2.000000
2.000000