C
C
chettch ^^,2017-10-19 16:43:28
Node.js
chettch ^^,, 2017-10-19 16:43:28

Is it possible to change directory in Node.Js?

Hello, I have Node.js installed on Windows in "C:\Program Files\nodejs", I need to create a folder in "C:\Program Files\Project", is it possible to do this? I honestly tried to google, nothing on my question did not find. I apologize in advance if I missed something.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Gerasimov, 2017-10-19
@chettch

In Windows
, you can run a node from anywhere through the console,

mkdir Project1 && cd Project1
touch app.js
node app.js

If the question is about whether a node can create directories, then yes it can, provided that it has rights to this section

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question