Skip to main content

All 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 ...
Jibin's user avatar
  • 1
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 ...
Surt McGert's user avatar
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 ...
DigitalNomad's user avatar
  • 1,718
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 ...
Gor's user avatar
  • 1
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 ...
user2500742's user avatar
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 ...
Alpha Delta's user avatar
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 ...
parsecer's user avatar
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 ...
t_venuga's user avatar
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\...
user899697's user avatar
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 ...
omega's user avatar
  • 195
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 ...
minusatwelfth's user avatar
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 ...
1N07's user avatar
  • 432
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 ...
lonewookie's user avatar
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: ...
user332640's user avatar
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 /...
Kimi's user avatar
  • 221

15 30 50 per page