@echo off
:: START FILE GetNiceTime.cmd ====================================================
:: START USAGE ==================================================================
::SET THE NICETIME
:: A NICE COMPUTERNAME_TIMESTAMPUTILITY
:: CALL GetNiceTime.cmd&ECHO %COMPUTERNAME%_%NICETIME%
:: THIS CMD FILE WORKS WITH THE FORMATS FOLLOWING
:: %TIME% IS 16:55:25.60
:: %DATE% IS 15.06.2010
:: ECHO NICETIME IS %NICETIME%
:: echo nice time is %NICETIME%
:: END USAGE ==================================================================
::DEBUG echo set hhmmsss
:: this is Regional settings dependant so tweak this according your current settings
for /f "tokens=1-3 delims=:." %%a in ('echo %time%') do set hhmmsss=%%a%%b%%c
::DEBUG ECHO hhmmsss IS %hhmmsss%
::DEBUG PAUSE echo %yyyymmdd%
:: this is Regional settings dependant so tweak this according your current settings
for /f "tokens=1-3 delims=." %%D in ('echo %DATE%') do set yyyymmdd=%%F%%E%%D
::DEBUG ECHO yyyymmdd IS %yyyymmdd%
::DEBUG PAUSE
set NICETIME=%yyyymmdd%_%hhmmsss%
::DEBUG
echo THE NICETIME IS %NICETIME%
::DEBUG PAUSE
:: =========END FILE GetNiceTime.cmd ====================================================
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 !!!!