Qbasicnews.com
August 25, 2019, 11:43:08 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: search data and files  (Read 2296 times)
everett
Member
*
Posts: 29


« on: November 30, 2005, 05:06:53 PM »

Code:

cls
input "drive"; d$
input "dir"; s$
input "file type"; f$
input "name"; n$
if s$ = "\" then
goto sub1
else
if s$ = "" then
goto sub1
else
if s$ = " " then
goto sub1
else
shell "dir "+d$+":\"+s$+"\"+n$+"."+f$+"/b/a-d>search.txt
end
sub1:
shell "dir "+d$+":\"+n$+"."+f$+"/b/a-d>search.txt
return

i have a challenge to make a search prog that will search
files for spicifec strings ,lines,and data in a file
and search for files.
 i alredy have the file search code here all entres must have this code somewhere
2 entres per person
can be in  freebasic,qbasic,quickbasic,and can have libareys for commands but you must include the libarey too
with the code

"this code has been made more beter than my orignal vershen
by Moneo ,whitetiger0990,and tannervp"
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!