@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 ====================================================
Avoiding WPF Image Control Local File Locking
-
[image: Locked Image Files]
WPF image locking has tripped me up a lot in XAML applications: The WPF
image control by default locks image files when direc...
3 days 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 !!!!