javascript - How do you use node or JS to get the desktop path of windows?
给我你的怀抱
给我你的怀抱 2017-05-16 13:33:10
0
1
802

I can now automatically generate a PDF, and then I need to automatically save the PDF to the desktop folder of Windows, but I don’t know how to get the path of the desktop folder of Windows. . . Either node or Js is fine, thank you everyone~

给我你的怀抱
给我你的怀抱

reply all(1)
世界只因有你

I haven’t used Windows for many years, so I don’t need to obtain this path, just hardcode it. Similar to mac's 'file:///Users/xxx/Desktop/'

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template