I want to create a directory string variable which is '.appsrcalgorithms' to use it in exec function in node on Windows Platform. However, it doesn not work properly even use double backslashes in the string. Here is my try;
λ node
> directory = '.appsrcalgorithms';
'.appsrcalgorithms'
> directory = '.\app\src\algorithms';
'.\app\src\algorithms'
See Question&Answers more detail:os