How to find whether a given path is absolute/relative and convert it to absolute for file manipulati

Posted by Sriram on Stack Overflow See other posts from Stack Overflow or by Sriram
Published on 2010-03-09T04:46:44Z Indexed on 2010/03/09 4:51 UTC
Read the original article Hit count: 307

Filed under:
|
|

I am writing a small windows script in javascript/jscript for finding a match for a regexp with a string that i got by manipulating a file.

The file path can be provided relative or absolute. How to find whether a given path is absolute/relative and convert it to absolute for file manipulation?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jscript