All Questions
16
questions
0
votes
0
answers
34
views
How to change the number of devices in a endurance test file while scheduling with windows explorer?
I have a bat file that takes 'number of devices' as an argument, runs a performance test and puts the results in a 'results' folder. I am trying to automate running the bat file every hour, which can ...
1
vote
0
answers
355
views
how do I send an HTTP request when my pc goes to sleep or shutsdown
I am trying to set up a system where when my pc goes to sleep or shutsdown it sends an HTTP request to a raspberry pi on my local network which then performs some actions. Currently I have written a ...
0
votes
0
answers
546
views
Automatically Open a File when A certain directory is opened in Windows Explorer
Is it possible to open a certain text file or a file with specific extension, when I open a particular directory in Windows Explorer in Windows 10?
Here is one possible scenario for this request:
I ...
0
votes
1
answer
902
views
Running a Script in Foreground Without Login at Boot Windows10
I am trying to run a programme (t-rex, mining soft) which runs in the cmd indefinitely.
I want to run it at boot without login.
I have got it to run without any problems by scheduling a bat file, but ...
2
votes
1
answer
461
views
Task Scheduler .bat file creating wrong folder, while manually running it creating correct folder
When I am running .bat file manually it is creating the right folder, but when same file I am scheduling and running through Task Scheduler it is not creating folder as expected.
Below is the main ...
0
votes
2
answers
2k
views
Batch script not running at startup using Windows Task Scheduler
I have written a simple batch script [E:\Project Artemis\startup.bat] to start Python SimpleHTTPServer at startup of Windows 7, with the script working when I manually execute it, but after adding it ...
0
votes
0
answers
55
views
How to make this .bat script run on background? [duplicate]
I have this script that sets wallpaper every 10 minutes:
SCHTASKS /Create /SC MINUTE /MO 10 /TN MyTaskName /TR "D:/ChangeWallpaper.bat"
the ChangeWallpaper.java:
reg add "HKEY_CURRENT_USER\Control ...
2
votes
4
answers
66k
views
Task Scheduler- Batch "Run whether user is logged on or not" not working
I've created a batch file (EnableDisable.bat) that will disable a Windows Task Scheduler job (SampleJob) on a local system, if a job with same name (SampleJob) is already enabled and running on ...
0
votes
1
answer
479
views
how to create bat file on system start or hibernate and sleep
Recently I finished developing a Java application using JavaFX. Now I want to automatically run the application when the system starts, restarts or hibernates. I'm using the code below.
REG ADD HKLM\...
2
votes
1
answer
8k
views
Bat file doesn't log when running from task scheduler?
I made a bat file which restarts 2 services, and I have it run in task scheduler. If I run the bat file normally, I can see it logging in current directory as the bat file. But if I run it through ...
1
vote
1
answer
658
views
Reverse scheduled tasks script
I have run the following .cmd file and I do not like it and want to completely
reverse the changes. How would I do this without losing the original information about triggers/conditions etc. ?
@echo ...
3
votes
2
answers
8k
views
Windows task scheduler not triggering a task on Windows 10
I have a task that is supposed to run a script I made, every 10 minutes, but it just doesn't seem to trigger it.
In the task scheduler it says that next run time is in 10 minutes, but when the time ...
2
votes
3
answers
20k
views
How can I force a scheduled .bat job to run in the foreground?
I have a simple .bat that runs a PHP script at the same time every day.
@echo ON
php C:\path\to\script.php argument
pause
It runs fine when I double-click the .bat file. And I set up a scheduled ...
1
vote
0
answers
632
views
.bat script doesn't work by using window scheduler
i created a .bat script to perform daily folder compression. it is working fine when i double click the .bat file. However, it doesnt work when i include it in window scheduler.
Below is the script:
...
12
votes
5
answers
13k
views
Selectively deleting system scheduled tasks
Windows 7 box has a list of scheduled tasks - > Default Windows tasks + Certain custom tasks that all start with a certain string. Previous code deleted all tasks with the command:
schtasks /Delete /...