coreybutler / node-windows

Windows support for Node.JS scripts (daemons, eventlog, UAC, etc).
Other
2.82k stars 356 forks source link

How to setup Startup folder for node.js app? #106

Closed gdfspy closed 9 years ago

gdfspy commented 9 years ago

The Startup folder points to C:\windows\system32 defaultly, How to change it?

Error: ENOENT, open 'C:\Windows\system32\tmp\upload_578a8172f9281c65ad6b56cb823eed3d'

I want to write file /tmp/... in server.js folder.

gdfspy commented 9 years ago

I know, add process.chdir('D:\git\projectx') to server.js