topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday April 28, 2024, 9:35 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mouthpear [ switch to compact view ]

Pages: [1]
1
I am sorry if this is too late to post but I have used CLC for years now, and I am fat up with losing all my templates every few months. Every time it happens I come across this page even tho it seems the issue was never resolved. Today I am finally gonna post this because it worked. Save as .Bat file.

@echo off
for /f "delims=" %%a in ('wmic OS Get localdatetime  ^| find "."') do set dt=%%a
set YYYY=%dt:~0,4%
set MM=%dt:~4,2%
set DD=%dt:~6,2%
set HH=%dt:~8,2%
set Min=%dt:~10,2%
set Sec=%dt:~12,2%

set stamp=%YYYY%-%MM%-%DD% %HH%-%Min%-%Sec%

copy "E:\Folder\history.dat" "E:\BackupFolder\%stamp% - history.dat"
copy "E:\Folder\regist.dat" "E:\BackupFolder\%stamp% - regist.dat"


ECHO Backup completed!
Rem PAUSE



Follow this to have Task Scheduler do it automatically for you.

https://www.windowsc...scheduler-windows-10

If you want to do it manually. Make a shortcut to the BAT file and pin it to the taskbar. Go to advanced settings of the shortcut and check "Run as Administrator"


Again i apologise that this is an old post but I think this will help people.

Pages: [1]