Menu

Correct syntax in CLI to create pagefile in RAM disk using AIM Toolkit

2025-12-04
4 days ago
  • Danish Bronco

    Danish Bronco - 2025-12-04

    Hi everyone,

    I finally adopted AIM Toolkit since ImDisk is now defunct (RIP 😢), but I don't know if I can create a pagefile in a RAM disk the way I used to with ImDisk.

    The syntax I used looked like this (just an example):

    imdisk -a -s 6G -m P: -p "/fs:ntfs /q /y"
    swapadd P:\pagefile.sys 256M 5G

    Swapadd is located in my Windows\System32 folder and ready to go, but I don't know:
    a) If AIM Toolkit supports it; and
    b) How to edit the command line above to make it work. 😐

     
  • v77

    v77 - 2025-12-05

    You can just replace imdisk by aim_ll (in the installation folder). Most options are compatible.

    aim_ll -a -s 6G -m P: -p "/fs:ntfs /q /y"

    Never tried swapadd but it should work the same way.

     
  • Danish Bronco

    Danish Bronco - 2025-12-05

    OK thanks, I'll try. Is that "ll" or "II" (two lower case L's or two upper case i's)? I'll copy-paste from your post, but just in case I need to type further down the road, you know...

     
  • Danish Bronco

    Danish Bronco - 2025-12-05

    EDIT: it doesn't work. "aim_ll" isn't recognized as a command. Do I have to manually add AIM to the Path?

    I also tried "aim_cli" just in case, same result.

     

    Last edit: Danish Bronco 2025-12-05
  • v77

    v77 - 2025-12-05

    Unlike ImDisk, AIM Toolkit copies no file in Windows\System32.
    As I said, you have to go in the installation folder (or write the full path to aim_ll).

    "ll" means "low level".

     

    Last edit: v77 2025-12-05
  • Danish Bronco

    Danish Bronco - 4 days ago

    OK, I'm not sure I understood everything in your last post so here's what I did: I copy-pasted swapadd.exe onto the C:\Programmes\AIM Toolkit folder, then edited my .bat file with the complete path of both aim_ll and swapadd and now it's working.

    Thanks for your help!

    I'm still not sure what difference placing a pagefile in the RAM disk is going to make, but I wanted to try anyway.

     

Log in to post a comment.