cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
NEED HELP-SCRIPT TO RUN AND THEN DELETE
NEED HELP-SCRIPT TO RUN AND THEN DELETE PROGRAM
Aug 19, 2018 at 2:39pm UTC
LOKI0000
(1)
HI,Please help!
I want to create a script that will run program as administrator, and then it will delete.
Last edited on
Aug 19, 2018 at 2:40pm UTC
Aug 19, 2018 at 3:12pm UTC
Ganado
(6849)
Assuming Windows... look up RunOnce (registry option, runs a script only one time at login) or the Task Scheduler. Haven't tried it myself, though.
https://superuser.com/questions/1038528/how-do-you-schedule-a-task-using-schtasks-exe-to-run-once-and-delete-itself
Topic archived. No new replies allowed.