@ECHO OFF :: ============== FILE BackUp.cmd START ========================================================= ECHO BackUp.cmd -- makes timestamped versions of each files in the current directory ECHO AND PLACES THEM INTO THE BACKUPS DIRECTORY ECHO CREATE THE BACKUPS FOLDER IF IT DOES NOT EXIST mkdir backups SET NICETIME=BOO CALL GetNiceTime.cmd :: DEBUG PAUSE ECHO NICETIME IS %NICETIME% :: DEBUG PAUSE echo nice time is %NICETIME% ::for /f "tokens=1,2 delims=." %%i in ('dir /b') do ECHO %%i.%%j ECHO FIRST COPY THE FILES INTO THE BACKUPS FOLDER for /f "tokens=1,2 delims=." %%i in ('dir /b /A-D') do copy %%i.%%j %CD%\backups\ :: DEBUG PAUSE for /f "tokens=1,2 delims=." %%i in ('dir /b /A-D') do RENAME %CD%\backups\%%i.%%j "%%i%NICETIME%.%%j" :: DEBUG PAUSE :: ============== FILE BackUp.cmd END =========================================================
Getting the Current TabItem when the Tab is not selected in WPF
-
[image: Banner]
This is a quick reminder to self on how to retrieve a TabItem from a WPF
TabControl *when the tab is not currently selected* because I ru...
1 week ago
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!