This javascript tool permit to easily convert an input path to DOS, Unix, or DOS with backslashes-escaped output path
Here is the usage as descibed by the tool itself :
Usage: path-convert "path"
Methods: --escape : Escape backslashes in DOS --toUnix : Convert to Unix path --toDOS : Convert to DOS path
Examples: path-convert --toUnix "C:\Users\Username\Documents" path-convert --toDOS "/home/user/documents"
I hope this can help you!
Made for Hackclub's minus-twelve YSWS