KONTAKT: Backup your .nicnt and wallpaper files (wIndows.cmd file)

Discussion in 'Software' started by pedu, Apr 12, 2020.

  1. pedu

    pedu Member

    Joined:
    Sep 13, 2019
    Messages:
    21
    Likes Received:
    17
    Hi guys

    I created a small Windows command script that will backup the .nicnt and wallpaper files from your KONTAKT libraries. You will have to edit the backup_nicnt_and_wallpaper.cmd to suit your needs. Edit the stuff marked in bold.

    Content of backup_nicnt_and_wallpaper.cmd
    @ECHO OFF

    SETLOCAL

    SET "ZIPEXE=%OneDrive%\KONTAKT_NICNT\7z.exe"
    SET "BACKUP_TO=%OneDrive%\KONTAKT_NICNT"
    SET "KONTAKT=G:\VSTi Patches\KONTAKT"
    SET "KONTAKT6=G:\VSTi Patches\KONTAKT6"

    "%ZIPEXE%" u -r "%BACKUP_TO%\kontakt.zip" "%KONTAKT%\*.nicnt" "%KONTAKT%\wallpaper.*"
    "%ZIPEXE%" u -r "%BACKUP_TO%\kontakt6.zip" "%KONTAKT6%\*.nicnt" "%KONTAKT6%\wallpaper.*"

    ENDLOCAL


    You will need 7zip.exe (attached) for this. Just this ONE 7zip.exe file. Not a complete installation of 7-Zip!

    7zip.exe.zip attached as well.

    %OneDrive%
    OneDrive is a Windows environment variable. It points to your OneDrive folder. In my case it's
    OneDrive=S:\OneDrive

    The %OneDrive% is just how you reference it in a .cmd or .bat file

    To see all environment variables open a command prompt as administrator and type
    set <enter>

    My KONTAKT 5 libs are located in
    G:\VSTi Patches\KONTAKT

    My KONTAKT 6 libs are located in
    G:\VSTi Patches\KONTAKT6

    The 7zip.exe and the backup_nicnt_and_wallpaper.cmd are located in my OneDrive in a subfolder called KONTAKT_NICNT. This folder is also where i backup my files to. The backup files are named kontakt.zip and kontakt6.zip.

    The 2 backup files get updated when you run the backup_nicnt_and_wallpaper.cmd script. This means that new files are added to the backups. Existing files in the backups get updated IF they have changed (are newer than the ones in the backup). Backups of libs you may have deleted will remain in the backup (intentional).

    The folder structure of the backup(s) will be the same as your library to keep it simpler to find the correct .nicnt and wallpaper.* files (should you need them).

    Enjoy and keep safe
     
    Last edited: Apr 12, 2020
    • Like Like x 2
    • Useful Useful x 1
    • List

    Attached Files:

  2.  
Loading...
Similar Threads - KONTAKT Backup nicnt Forum Date
How to backup your Kontakt Library [problem] Kontakt Mar 2, 2017
Kontakt 7.8 (BobDule) says demo? Kontakt Yesterday at 10:47 PM
Was there ever a Kontakt 5.8.1 Portable? Kontakt Yesterday at 7:43 AM
Native Instruments Komplete Kontrol & Kontakt Library Visibility Software Tuesday at 4:57 PM
How does a fella automate Kontakt? Where is... Kontakt Tuesday at 3:00 AM
Loading...