Search found 3 matches
- 27 Apr 2021 03:15
- Forum: DOS Batch Forum
- Topic: Taskkill %0
- Replies: 6
- Views: 7072
Re: Taskkill %0
It's a little problematic due to the quotes around the own path of the script. I'd probably use a filtered output of tasklist to get the PID. As long as the title still doesn't contain the " - " you can use this snippet in the same script that later on calls file1-N. set me=%0 set me=%me:\=\\% for ...
- 27 Apr 2021 03:14
- Forum: DOS Batch Forum
- Topic: Taskkill %0
- Replies: 6
- Views: 7072
Re: Taskkill %0
The batch is not scheduled with Windows Task Scheduler but still thanks for your reply.
- 26 Apr 2021 07:52
- Forum: DOS Batch Forum
- Topic: Taskkill %0
- Replies: 6
- Views: 7072
Taskkill %0
Hello, I have a long batch that runs for some hours. To see how far it is the Title changes: TITLE %0 ... TITLE %0 - file1 CALL C:\Path\file1 TITLE %0 - file2 CALL C:\Path\file2 TITLE %0 - file3 CALL C:\Path\file3 ... It can happen that it runs very long. Since this runs every 24h I would like to cl...