0

I want to open a file dialog in my Node.js typescript project.

I run the project in my cmd so no browser or HTML is involved.

I want to show a box like:

enter image description here

Thank you.

6
  • Sorry to disappoint you, node js does not provide this functionality. Commented Jan 25, 2020 at 20:13
  • @DanStarns Would I be able to achieve this using a .bat file or cmd/powershell commands? Commented Jan 25, 2020 at 20:13
  • You could use child_process to spawn a script in another language. Commented Jan 25, 2020 at 20:14
  • I tried running a bat file by doing the following: pasteid.fledix.com/701i Commented Jan 25, 2020 at 20:20
  • and what happend?... Commented Jan 25, 2020 at 20:22

1 Answer 1

2

Sorry to disappoint you, node js does not provide this functionality. However, You could use child_process to spawn a script in another language.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.