mkruger Posted January 1, 2011 Share Posted January 1, 2011 Following all the great tips and advice found on this forum, my automated install disk is coming along very nicely. Thanks everyone. However, I am having some problems when using cleanup.cmd to create new folders in the root of the %Systemdrive%. I suspect it's a permissions issue or something. My cleanup.cmd is executed via RunOnceEX.CMD. The following do not work:MKDIR "%systemdrive%\BAK\" or MD "%systemdrive%\BAK\" I suppose I could sidestep the whole problem by adding folders under $OEM$\$1, but I am curious why the MKDIR command does not work in the cleanup.cmd batch file. Any ideas? Link to comment Share on other sites More sharing options...
ricktendo Posted January 1, 2011 Share Posted January 1, 2011 (edited) edit Edited January 1, 2011 by ricktendo64 Link to comment Share on other sites More sharing options...
Geej Posted January 2, 2011 Share Posted January 2, 2011 MKDIR "%systemdrive%\BAK\" or MD "%systemdrive%\BAK\" I suppose I could sidestep the whole problem by adding folders under $OEM$\$1, but I am curious why the MKDIR command does not work in the cleanup.cmd batch file. Any ideas? Your syntax works on my test m/c , hence I'm also curious why it can't work at your ends. Have you observe any console message error? What does it says?Have you also try running via svcpack.inf (in the form of an addon)? Link to comment Share on other sites More sharing options...
mkruger Posted January 2, 2011 Author Share Posted January 2, 2011 Your syntax works on my test m/c , hence I'm also curious why it can't work at your ends. Have you observe any console message error? What does it says?Have you also try running via svcpack.inf (in the form of an addon)?Curious.....I guess I could always try adding to the svcpack.inf. It's a bit less visible (for me) to maintain that way....but I will give it a try anyway. I also could do it via Winnt.sif under RunOnceGUI....as I have been putting more stuff there lately. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now