Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REM Created by Cody for PlanetXivio.com
- REM Not for use anywhere else.
- FOR /F "TOKENS=1* DELIMS= " %%A IN ('DATE/T') DO SET CDATE=%%B
- FOR /F "TOKENS=1,2 eol=/ DELIMS=/ " %%A IN ('DATE/T') DO SET mm=%%B
- FOR /F "TOKENS=1,2 DELIMS=/ eol=/" %%A IN ('echo %CDATE%') DO SET dd=%%B
- FOR /F "TOKENS=2,3 DELIMS=/ " %%A IN ('echo %CDATE%') DO SET yyyy=%%B
- SET date=%yyyy%-%mm%-%dd%
- C:\xampp\mysql\bin\mysqldump.exe nfc -h localhost -u root -pohandford > C:\Users\Administrator\Desktop\databackup\nfc-%date%.sql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement