New
#21
That was the conclusion I came to, but was hoping there was a more elegant way around it. I'm setting this up for non-technical people to run as I'm moving house and will no longer be able to service their computers.
This all applies to computers that have a freshly installed copy of Windows. So there are no protected folders or anything else on the drive. The goal was "one script to rule them all". But it looks like that may not be doable.
So I guess I'll do something like this (myscript.cmd);
Ughh... even that won't work. I will have to get the user to do a number of manual steps first. I'll keep searching for a better solution.Code:@echo off copy chgdrive.cmd c:\users\%USERNAME%\Desktop C: CD c:\users\%USERNAME%\Desktop (Can't use pushd as popd will put me back on a drive whose letter will change) call chgdrive I A call chgdrive H I I: cd \postinstall call postinstall.cmd del c:\users\%USERNAME%\desktop\myscript.cmd
Last edited by jshs2020; 26 Nov 2023 at 18:21.