From: Tj Superfly Date: 2007-10-17T11:49:05+09:00 Subject: Re: Mind giving a little help? Thanks Ben! I really appreciate your help, and feel bad asking this, but would you (or someone else) be willing to put this together for me and post the code here? I'm a 16 year old and still actually learning ruby in school, so 1/2 of what you said Ben made no sense what so ever to me. :P I've created 2 files with the names you have there, like you suggested. Here are their locations. This is actually what I don't understand the most is this whole file thing, I think that's what throwing me off the most. Anyway, here are their locations: C:\Documents and Settings\nonstickglue\My Documents\TDN\urls.txt C:\Documents and Settings\nonstickglue\My Documents\TDN\urls_checked.txt ---- I also have no idea what TK dialog box is or anything. Basically I'm going to be running this program via command promt, I'm not using Ruby on Rails, I'm just working with Ruby. So just a simple puts "Would you like to delete this URL from the file? - Answer yes or no" delete_url= gets.chomp if(delete_url == "yes") # some code that deletes the url from the here puts "The url has been removed from the list." elsif(delete_url == "no") # maybe some code here, I really have no idea puts "The url has been left in the file and the program will continue running now." end I dunno. Like I said I'm new at this, so this might be to big of a project for me to tackle, but I can only get better from trying. :D Thanks again for all your help. -- Posted via http://www.ruby-forum.com/.