I am too rubbish. Please find a batch script for automatic shutdown at a scheduled time:
Requirements:
1. When the computer starts, automatically detect whether it is morning or afternoon. If it is morning, set automatic shutdown at 12 o'clock. If it is afternoon, set automatic shutdown at 17 o'clock.
2. If the computer is started before 8 o'clock in the morning, between 12 o'clock and 13 o'clock, or after 17 o'clock in the evening, automatically shut down. Or cannot start?
Please help me, thank you in advance, dear experts!
Requirements:
1. When the computer starts, automatically detect whether it is morning or afternoon. If it is morning, set automatic shutdown at 12 o'clock. If it is afternoon, set automatic shutdown at 17 o'clock.
2. If the computer is started before 8 o'clock in the morning, between 12 o'clock and 13 o'clock, or after 17 o'clock in the evening, automatically shut down. Or cannot start?
Please help me, thank you in advance, dear experts!
