Question
Convert javascript path to windows path
I have a string that contains a path that is formatted like this:
/C/Users/heresh/Desktop/output/2016
How can I convert this path to a windows path:
C:\Users\heresh\Desktop\output\2016
I know I should use:
path.replace() but I cant get it to work
