Archive for May, 2018

Extract the filename from a path in Powershell

By Andrei Ungureanu - Last updated: Tuesday, May 8, 2018

Lucrul cu string-uri e dificil cateodata iar unul din task-urile intalnite recent a fost sa extrag numele unui fisier dintr-un path. De exemplu se da urmatorul string “C:\Data\reports1.csv”. Si task-ul este de a obtine numai numele fisierului din acest string. Bineinteles ca se poate face impartind tot stringul pe baza caracterului \ si citind doar […]

Vmware Workstation Shared Folders issue & Windows 10

By Andrei Ungureanu - Last updated: Monday, May 7, 2018

Seems like after every Windows 10 upgrade, the shared folders inside Vmware Workstation VMs stop working. Reinstalling Vmware Tools and rebooting the VM or host will not fix this issue. The problem seem to be related to this registry key:HKEY_LOCAL_MACHINE\ SYSTEM\CurrentControlSet\Control\NetworkProvider\Order\ProviderOrder The value should contain also vmhgfs and seems to be rewritten after each Windows […]