I did hijack another related topic here:
but think I should have started my own. Hopefully someone can help.
I've been using ImDisk in Windows 7 for ages to create a RamDisk, format it and copy stuff to it. I've automated things using scripts, so don't use the GUI.
I've copied my W7 scripts across to my new W8 build - the exact same PC - and I'm having problems.
If I use the command prompt (run as admin) and manually type:
ImDisk -a -s 12G -m H: -p "fs:ntfs /q /y"
It successfully creates and formats my new drive. If however I simply run the .bat file that contains this it will create the drive, but fail to format - I then get the Windows Format dialogue appear. My user account is an Admin account needless to say.
If I run my batch file "as administrator" NOTHING at all happen, not even the drive is created.
I thought at first this was a simple UAC issue, but that is all switched off.
So, my scripts that work fine in W7, fail in W8 when attempting the Format. They do however work if typed directly into a Command Propmt that's run as Administrator.
I'm a little confused, some guidance would be appreciated. I suspect I've just forgotten something or fallen foul of a change in W8. I set up ImDisk and my original .bat file quite some time ago, and have just copied one to use as a base each time I create a new one.
I'm using version 1.6.0 now, but I had the same issue in the prior version, said prior version I was using in W7.
Any help appreciated.