Jump to content

Batch file copying

greglemond

hi im looking for someone to tell me a way to make a batch file copy itself to the startup folder when it runs. Thanks.

Link to comment
Share on other sites

Link to post
Share on other sites

Sorry, what startup folder?

 

Do you just mean make a copy to the same folder?

Want to know which mobo to get?

Spoiler

Choose whatever you need. Any more, you're wasting your money. Any less, and you don't get the features you need.

 

Only you know what you need to do with your computer, so nobody's really qualified to answer this question except for you.

 

chEcK iNsidE sPoilEr fOr a tREat!

Link to comment
Share on other sites

Link to post
Share on other sites

Like this?

 

@echo off

set startDIR="%appdata%\Microsoft\Windows\Start Menu\Programs\Startup"
echo "Moving %0 to the %startDIR%"

copy %0 %startDIR%

pause

 

import { signature } from "./signature";

signature.display({ cpu"Intel i9 9900k @ 3.56HZ",  gpu"ASUS GTX 1080",  ram"32GB CORSAIR DDR4", motherboard"ASUS Z390-E" });

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×