d2jsp
d2jsp Forums > Programmer's Haven > Iso Cmd Help
Add Reply New Topic New Poll
aciddrop
#1 Aug 11 2019 08:57pm
Group: Member
Posts: 12,676
Joined: Sep 3 2008
Gold: 117.00
What line could I use to write a file to the start up regisrry

ehmmkay
#2 Aug 12 2019 02:34pm
Group: Member
Posts: 13,743
Joined: Sep 27 2012
Gold: 21,062.20
u can just write regedit lol, but u have to run ur cmd as admin :)

aciddrop
#3 Aug 13 2019 03:30am
Group: Member
Posts: 12,676
Joined: Sep 3 2008
Gold: 117.00
Quote (ehmmkay @ Aug 12 2019 04:34pm)
u can just write regedit lol, but u have to run ur cmd as admin :)


I pm'd you thanks brother.
Lenoor
#4 Aug 14 2019 10:50am
Group: Member
Posts: 7,690
Joined: Jan 24 2009
Gold: 12,156.50
He can make a .bat file and use the task planifier to make it launch at start.
aciddrop
#5 Aug 15 2019 08:37am
Group: Member
Posts: 12,676
Joined: Sep 3 2008
Gold: 117.00
Quote (Lenoor @ Aug 14 2019 12:50pm)
He can make a .bat file and use the task planifier to make it launch at start.


gotta link where I can read and learn how? since Im not receiving much help probably cause I have 0fg and FG means nothing.
Lenoor
#6 Aug 15 2019 10:51am
Group: Member
Posts: 7,690
Joined: Jan 24 2009
Gold: 12,156.50
For the cmd commands : https://www.tutorialspoint.com/batch_script/batch_script_commands.htm#
And the task scheduler : https://www.digitalcitizen.life/how-create-task-basic-task-wizard

To write a file you need something like this :

@echo off
echo random_text_here >> sav.txt


or

@echo off
echo %date% , %TIME% >> sav.txt


Using double arrows >> instead of one will write a text at the bottom, one arrow > will erase everything before writing.
You can also write other things than text like the time when your computer started.



Save the file with a .bat extension and use the scheduler as you intend.
aciddrop
#7 Aug 17 2019 11:57pm
Group: Member
Posts: 12,676
Joined: Sep 3 2008
Gold: 117.00
Quote (Lenoor @ Aug 15 2019 12:51pm)
For the cmd commands : https://www.tutorialspoint.com/batch_script/batch_script_commands.htm
And the task scheduler : https://www.digitalcitizen.life/how-create-task-basic-task-wizard

To write a file you need something like this :

@echo off
echo random_text_here >> sav.txt


or

@echo off
echo %date% , %TIME% >> sav.txt


Using double arrows >> instead of one will write a text at the bottom, one arrow > will erase everything before writing.
You can also write other things than text like the time when your computer started.

http://image.noelshack.com/fichiers/2019/33/4/1565887836-tosti.png

Save the file with a .bat extension and use the scheduler as you intend.


Thanks brother
Go Back To Programmer's Haven Topic List
Add Reply New Topic New Poll