wmic pagefileset where name!="T:\\pagefile.sys" delete
wmic pagefileset create name="T:\\pagefile.sys"
wmic pagefileset where name="T:\\pagefile.sys" set InitialSize=64000,MaximumSize=64000
if I put this in a batch file and put the batch file in %WINDIR%\system32\ and a batch file having these two items will that change the location of pagefile.sys?
Now how do I put T:\temp in this screen in a batch file?
wmic pagefileset create name="T:\\pagefile.sys"
wmic pagefileset where name="T:\\pagefile.sys" set InitialSize=64000,MaximumSize=64000
if I put this in a batch file and put the batch file in %WINDIR%\system32\ and a batch file having these two items will that change the location of pagefile.sys?
Now how do I put T:\temp in this screen in a batch file?

- Windows Build/Version
- windows 11 pro 26200.5742
My Computer
At a glance
Windows 11 proI-7 2gigaherz16Gig
- OS
- Windows 11 pro
- Computer type
- Laptop
- Manufacturer/Model
- Asus
- CPU
- I-7 2gigaherz
- Motherboard
- Asus
- Memory
- 16Gig
- Screen Resolution
- 1024x768
- Hard Drives
- 512 SSD





