Skip to main content

All Questions

1 vote
1 answer
86 views

windows-7 nightly scheduled .bat with a DOS pause in it executes but never pauses

The following is my nightly_backup.bat file, scheduled to run every night at 11pm. But though it does the backups ok, I never find it paused in the morning, like I expect it. echo off ROBOCOPY C:\...
Doug Null's user avatar
  • 818
0 votes
0 answers
86 views

Creating a BAT to lopp directories and 7zip them

I a have a bunch of folders from my projects under C:\Projects, and they are a lot. While I can throw a task scheduler to robocopy the folder to B:\Backups\Projects\, having to 7zip (or just zip) ...
DarkGhostHunter's user avatar
1 vote
1 answer
5k views

schtask Activate task when specific user login

I want to create a batch file that creates a scheduled task to run a .cmd file when a specific user logons. So far I've come up with this: @echo off schtasks /CREATE /RU %username% /TN "TaskName" /TR ...
Kustomize's user avatar