jump to navigation

Rename multiple files using Command Prompt April 25, 2023

Posted by haryoktav in Interest.
comments closed

When you deal with dataset, sometime, the file name gets very long, and somehow produces error because of.. its very long name, of course! So, this is the code to rename multiple files by adding index number.

Save this code as BAT-file then run this code in the same folder.

set /a Index=1

setlocal enabledelayedexpansion

for /r %%i in (makan.*.json) do ( 
    rename "%%i" "makan.!Index!.json"
    set /a Index+=1
)

Then.. what a wonderful world!

New name

Making Windows 10 Lite Edition May 29, 2022

Posted by haryoktav in Interest.
comments closed

Time flies, my laptops are outdated, but I wonder if they still survive. So, I found a handy tutorial on Youtube “How to Create A Windows 10 Lite Edition” from Britec09 (https://www.youtube.com/watch?v=WxMqtyNJOkk). [Note, I smashed the Subscribe and Like buttons already *smile*]. Here I followed the instructions and wrote it for my purpose.

  1. Download Rufus for creating bootable USB drives. https://rufus.ie/
  2. Download Media creating tool. https://www.microsoft.com/en-gb/software-download/windows10, run Media creating tool, connect to internet, and create an DVD ISO file of your Windows. You need to remember the product number key for further installation. Also check the Windows version in Setting-System-About, mine was 21H2. Why Media Creation Tool using internet? Because it downloads the ISO! You can consume about 4GiB internet data.
  3. Download MSMG Toolkit. https://msmgtoolkit.in/ then extract it. I got folder named Toolkit_v12.2.
  4. Put the Windows ISO file (#2) in MSMG Toolkit folder Toolkit_v12.2\DVD\ then remove (or move) the Windows ISO file.
  5. Run Start.cmd in Toolkit_v12.2
  6. Type A for Accept, it shows something then Enter.
  7. Type 1 for Source, then type 7 for Extract Source from Custom Windows ESD Image, then type 6 for Windows 10 Pro (mine also the same), it processes a while then Enter.
  8. Type 7 for Tools, then type 1 for WIM Manager, then type A for Display, you can see one version of Windows, the others were removed, then type X for Exit.
  9. Type 1 for Source, then type 1 for Select Source from Folder, then type Q for go back a while, we need the other 2 files.
  10. Go to https://www.catalog.update.microsoft.com/ and search “servicing stack update 21h2” (mine was 21H2). Download for x64-based System only. In my case, it showed “2022-05 Servicing Stack Update for Windows 10 Version 21H2 for x64-based Systems (KB5014032)” and the file is “ssu-19041.1704-x64_70e350118b85fdae082ab7fde8165a947341ba1a.msu”
Servicing Stack Update
  1. Still in https://www.catalog.update.microsoft.com/, search “cumulative update 21h2 x64”. Im my case it showed “Cumulative Update for Windows 10 Version 21H2 for x64-based Systems (KB5015020)” and the file is “windows10.0-kb5015020-x64_5a735e4c21ca90801b3e0b019ac210147a978c52.msu”
Cumulative Update
  1. Put 2 files (#10, #11) in Toolkit_v12.2\Updates\w10\x64
  2. Go back to MSMG command window.
  3. Type 1 for Source, then type 1 for Select Source from Folder, then type 1, then type y twice for:
    Do you want to mount Windows Setup Boot Image ? [‘Y’es/’N’o] : Y
    Do you want to mount Windows Recovery Image ? [‘Y’es/’N’o] : Y
    then it processes a while.. when finish press Enter
  4. Back to main, type 2 for Integrate, meanwhile..
  5. Go to https://msmgtoolkit.in/downloads.html and browse the MSMG Toolkit Packs. They inform that they lost all the Toolkit Pack contents, so I just picked the VCRuntime from \Toolkit\Packs\VCRuntime in their Mediafire. After downloaded, put those files into our folder \Toolkit_v12.2\Packs\VCRuntime\w10
  6. Now back to Integrate menu, type 3 for Windows Features, then type Q for integrating Microsoft Visual C++ Runtime… processing.. then hit Enter. Type X for back to Integrate menu
  7. Type 4 for integrating Windows Updates, klik Y for
    Do you want to Continue ? [‘Y’es/’N’o] : Y
    type 1 for Integrate Windows Updates.. processing… press Enter when finish, then type X to go back to main menu.
  8. Type 3 for Remove, then type 1 for Remove Windows Components, then type 1 for Select Windows Components, remove unused components, type X until go back to Remove Windows Components Menu.
  9. Type 2 for Start Removing Windows Components… processing.. finish, then type X twice to go back to Main menu.
  10. If we happy with the changes and finish, we can type 5 for Apply, type 2 for Apply & Save Changes to Source Images, then type N for not cleaning up Image folder:
    Do you want to cleanup Image folder ? [‘Y’es/’N’o] : N
    then processing… be patient.. then type X when finish to go back to Main menu.
  11. Type 6 for Target, type 1 for Make a DVD ISO Image, enter the ISO Volume Label and enter the ISO File Name. Press any key when finish.
  12. Type X for Quit. Yey! We got ISO lite edition!
  13. Use Rufus to burn the ISO into a bootable USB drive. Choose the right partition scheme for your case. I picked MBR for booting through BIOS.
  14. Done. Your ISO is in \Toolkit_v12.2\ISO.

I will update my two-old-laptops: HP Pavilion SleekBook 14-b009AU (https://haryoktav.wordpress.com/2013/10/05/hp-pavilion-sleekbook-14-b009au-yang-menantang/) and Lenovo Ideapad S10-3t (https://haryoktav.wordpress.com/2013/10/04/windows-8-1/). See you!

Edited, April 23, 2023:

Doesn’t work as expected.. lol

Upgrading RAM 4BG to 8GB Dynabook R732/F April 26, 2020

Posted by haryoktav in Interest.
comments closed

My Dynabook was born in 2012 with 4GB RAM, occupied 1 from 2 provided slots. Pretty cool at that time. But now, with Windows 10, when I am using Chrome with multiple tabs, working on multiple MS Word docs, and some apps running.. they are consuming memories almost 90%.

In short, I checked the specification of the memory. It is a SODIMM 4GB 2RX8 PC3-12800S-11-11-F3 made by Hynix or Hyundai Electronics, a South Korean memory semiconductor supplier, which in 2012, Hynix merged to SK Group become SK Hynix. The memory is a DDR3 with 1.5 Volt working voltage. In 2020 the price is reasonable, US$15.66, so I bought one, and installed it in the slot number 2.

New memory!

(more…)

Campur suara dengan VoiceMeeter April 16, 2020

Posted by haryoktav in What's news.
comments closed

Work From Home akibat pandemi coronavirus disease 2019 atau COVID-19 ini memaksa harus cuap-cuap di kelas online. Sepertinya enak juga kalau sewaktu cuap-cuap diiringi oleh latar belakang musik.

Maka berselancarlah dan menemukan 2 opsi: beli mixer hardware atau install mixer software. Maksud dan tujuan mixer ini hanyalah untuk menggabungkan suara mikrofon dengan musik yang sedang diputar. Kelemahan dan kelebihan mereka berdua yang saya ambil adalah: mixer hardware tidak mengganggu CPU tetapi keluar uang sedangkan mixer software mengganggu CPU tapi ada yang free! Dan keputusan jatuh pada: mixer software yang tidak mengganggu dompet 🙂

Yang saya butuhkan hanyalah: 1 input suara mikrofon, 1 input suara musik, 1 input suara dari aplikasi, 1 output headset untuk monitor, dan 1 output ke aplikasi. Seperti gambar berikut:

Gambar 1. Jumlah kebutuhan input dan output

(more…)