GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/JimMartinson/_Archive/CST1861/CST1861/Archive/ |
Upload File : |
@echo off :: daily.cmd :: Written by: Ryan Olsen :: Written on: 2010/02/11 setlocal enableextensions :: Display help when the /? parameter is passed. if NOT "%~1"=="/?" goto SkipHelp echo Adds a new path to the Path environmetal variable. echo. echo Usage: %~n0 [nothing] echo. ::echo new_path = The new_path to append to the Path. ::echo If no new path is given simply display the current path. ::echo. echo This script will ask for date and time upon execution. echo Wherever this script is located, is where a folder named bkup will echo be created, and written to. echo xcopy is used to update files ON, or AFTER the date you enter. echo Files copied into these folders with older dates will NOT be copied. echo Only if the file date is ON or AFTER the date you enter!!! echo For a full backup of hardcoded CST#### folders, use a date of 01-01-0001. echo The time question is used only for the folder creation. echo The time entered is NOT echo looked at for file copying. echo Enter the date in this format for xcopy usage. echo I used a modified version of this for tracking changes I had made to echo specific folders on a given day. echo I ran this daily to know what I had worked on. goto:EOF :SkipHelp echo Enter MM-dd-yyyy ENTER the hyphens as well! set /p date= echo Enter Time in Military Style HHMM set /p time= if NOT "~bkup"=="" md bkup cd bkup md %date%.%time% cd %date%.%time% :: now within the newly created folder. :: /s/m used to be /s/d:%date% md CST1000 xcopy "d:\CST1000\*.*" .\CST1000 /s/m md CST1021 xcopy "d:\CST1021\*.*" .\CST1021 /s/m md CST1600 xcopy "d:\CST1600\*.*" .\CST1600 /s/m md CST1794 xcopy "d:\CST1794\*.*" .\CST1794 /s/m md CST1801 xcopy "d:\CST1801\*.*" .\CST1801 /s/m md CST1802 xcopy "d:\CST1802\*.*" .\CST1802 /s/m md CST1861 xcopy "d:\CST1861\*.*" .\CST1861 /s/m :: if you want to copy the newly made folders and data to another drive as :: well, like a thumb drive or something... ::md h:\bkup\%date%.%time% ::cd h:\bkup\%date%.%time% ::xcopy c:*.* h: /s cd %date%.%time% cls tree /f | more