I am working on an application that should take file system path as directory and then further processing is done on that path. The code is written into javascript. I do no want to use Node.js or any external library for validation.
We just want to give path : C:/Users/Desktop/Test_Folder
How can we validate that path in js?
We need the solution to be worked on Windows, Linux and Mac OS.