Solved How to run a batch file at logoff & some batch scripting help please

Recusant

New member
Member
Local time
3:59 PM
Messages
82
How to run a batch file at logoff & some batch scripting help please

Hiya,

I'd just like to run a simple batch file at logoff to backup some settings. I plan to use Robocopy, which is what i use to more thorough backups.

Two questions:
1. How make it run by clicking Start > Shutdown? (i realise i could make a shutdown batch file and run it instead, but i'd rather keep a standard 'workflow' for other users who use the machine.

2. I'm 'ok' with batch files, but i've never tried to mirror to a different folder each time (automagically). What i'd like to do is have it backup a folder and call it "blah.1" then "blah.2" each time it is run, and then repeat once it gets to "blah.9" so it doesn't keep growing forever. I don't know how to do this.

I realise no.2 is not really for this forum, but someone might know and i might as well ask

:) Thanks.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 64Bit
CPU
No Current PC
Motherboard
No Current PC
Memory
No Current PC
Graphics Card(s)
No Current PC
Sound Card
No Current PC
Monitor(s) Displays
No Current PC
Hard Drives
No Current PC
PSU
No Current PC
Case
No Current PC
Cooling
No Current PC
Other Info
No Current PC

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 64Bit
CPU
No Current PC
Motherboard
No Current PC
Memory
No Current PC
Graphics Card(s)
No Current PC
Sound Card
No Current PC
Monitor(s) Displays
No Current PC
Hard Drives
No Current PC
PSU
No Current PC
Case
No Current PC
Cooling
No Current PC
Other Info
No Current PC
Back
Top