Including File Paths in Ocra?

Posted by Ruby Novice on Stack Overflow See other posts from Stack Overflow or by Ruby Novice
Published on 2010-04-29T17:57:14Z Indexed on 2010/04/29 18:07 UTC
Read the original article Hit count: 255

Filed under:

I'm trying to figure out if there is a way to include file paths in ocra and still have the application make an exe. I have it set up so that the .exe generated by ocra would sit on the same directory level as another folder. That folder is named 'Place Files Here', and the program simply performs regex commands on text files in the 'Place Files Here' folder. I can run ocra without errors if I use only Dir.getwd, but if I try to add directory = Dir.getwd + '/Place Files Here' it won't run. Any help would be greatly appreciated. Thanks!

© Stack Overflow or respective owner

Related posts about ruby