Question: I want that, when my program runs, it adds itself to Windows startup (if it doesn't exist there).

I tried this:

```
REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v mycompany /d C:\ProgramFiles\mycompany\demo.exe /f

```

I also tried to copy the shortcut of the program to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

But, I need administrator privileges for both. What should I do?

Answer: 
To get the images on the handlebars page or HTML we need to set the path on the index.js file or app.js file, it depends on you what is your starting page.

***Index.js***

```
app.use(express.static('views/images')); 

```

`promotionapplication\views\images` - This is my folder structure, my index.js file is in `promotionapplication`, and i have kept my pics in the images folder. You can keep any of the structure of the folder but you should mention it in accordingly in `app.use`. 

So now i can use any of the pics in the folder, by using the following code in handlebars page- 

***first.handlebars***

```
 <img src="bckground.jpg" alt="piooop" /> 

```

Remember to reload the page after the changes made. 

It works perfectly fine. If any questions please comment, i will try to give an answer.
Use attachments in nodemailer options. LInk image src in your .hbs file to the unique cid in your attachment description like so:

```
src="cid:unique@unique" 

 const mailOptions = {
from: 'xxxxx',
to: x,
subject: `xxxx`,
template : 'xxx',
attachments: [
  {
    filename: 'xx.png',
    path: __dirname +'/images/xx.png',
    cid: 'unique@unique'
  },]

```