Solution for problem with libraries loading in HP VCM (virtual connect manager)

Origin of the solution: HP Virtual Connect May Not Properly Load the Virtual Connect Manager (VCM) Web User Interface (URL2)

Flash files of the solution: VCM-loading_libraries_error-fix

Directory where to upload files:

  • Windows: %appdata%\Adobe\Flash Player\AssetCache\(dir)
  • Linux: /<user homedir>/.adobe/Flash_Player/AssetCache/<dir>

How to convert multiple video files (one directory) by FFMpeg on command line

for %a in ("*.3gp") do ffmpeg -i "%a" -c:v libx264 -c:a copy -q:v 0 -y "newfiles\%~na.mp4"
  • *.3gp – input files; what you want to convert
  • ffmpeg – ffmpeg executable; if you haven’t it in PATH, you have to insert absolut path to the ffmpeg (eg. c:\XXX\YYY\ffmpeg.exe)
  • -c:v libx264 – video codec – H.264 in this example
  • -c:a copy – audio code – „copy original audio stream“ in this example
  • -q:v 0 –  „same video quality“
  • newfiles\%~na.mp4 – output files; original file extension will be removed; directory must exists (newfiles in this example)

For more details and options, please use Google 🙂

Recent files/places in Office and jump lists in Start Menu location/backup

  • Recent (pinned or not) files and places in Office apps (2007, 2010, … ?) are in system registry … eg. for MS Word (14.0 in the path is for Office 2010):
    • [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Word\Place MRU]
    • [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Word\file mru]
  • Jump lists (list of recently used filesby diff. programs in the Start Menu) are in AppData
Recent files and places in MS Excel
Recent files and places in MS Excel
Jump list in Start Menu
Jump list in Start Menu

Base64 decode/encode in Windows command line

For Base64 file encode/decode you can use built-in utillity certutil.exe (in c:\windows\system32):

certutil.exe -encode InFile OutFile
certutil.exe -decode InFile OutFile

Note: because its for certificates … certutil add line „—–BEGIN CERTIFICATE—–“ (as first line of OutFile) and „—–END CERTIFICATE—–“ (as last line) when you encode some file

Simple timestamp in Windows command line

@echo off

SET NOWTIME=%time%
echo NOWTIME=#%NOWTIME%#
SET NOWDATE=%date%
echo NOWDATE=#%NOWDATE%#

FOR /F "tokens=1 delims= " %%x in ("%NOWTIME%") do SET TIME2=%%x
FOR /F "tokens=1-4 delims=:.," %%a in ("%TIME2%") do SET STAMPT=%%a%%b%%c%%d
echo STAMPT=%STAMPT%

FOR /F "tokens=2 delims= " %%x in ("%NOWDATE%") do SET DATE2=%%x
FOR /F "tokens=1-3 delims=:-.,/" %%a in ("%DATE2%") do SET STAMPD=%%c%%b%%a
echo STAMPD=%STAMPD%

SET TIMESTAMP=%STAMPD%%STAMPT%
echo TIMESTAMP=%TIMESTAMP%

Windowsový drobeček – duplicitní soubory

Po nějaké době jsem se přinutil udělat trochu pořádku na disku (hlavně s fotkama) a zjistil jsem, že mám spoustu souborů duplicitních – jak šel čas, tak jsem věci různě ukládal, ony se kompostovaly a moderní 1TB disk si toho ani nevšiml. Takže jsem hledal nástroj na vyhledání duplicitních souborů a s údivem zjistil, že přímo Microsoft má na tento úkol nástroj. Pokračování textu „Windowsový drobeček – duplicitní soubory“