> I have got a script that creates an 'excel_file' while running.  After 
> running, I want to rename it so that next time, when the script is run, it 
> will create the excel file anew.  Can I do that?  I tried a few DOS commands 
> but I could find only two DOS commands working in Watir.  They are 
> 'Dir.mkdir(directory)' and 'rmdir(directory)'

That's not DOS and that's not Watir.  That's Ruby.
You should definitely read up on the Ruby language itself.  The only
thing Watir knows about is the browser.
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to