pangoomis Posted March 9, 2015 Share Posted March 9, 2015 (edited) I want to delete some files using an .inf file, and the wininit.ini, so I add something like this: [foo] UpdateInis=ini [ini] wininit.ini,rename,,"NUL=C:\FOO1.EXE" wininit.ini,rename,,"NUL=C:\FOO2.EXE" wininit.ini,rename,,"NUL=C:\FOO3.EXE" However, only the last entry will be written to wininit.ini, so only FOO3.EXE will be deleted. Only thing I could find on the internet about this was these posts: https://groups.google.com/forum/#!topic/comp.os.ms-windows.programmer.win32/kH_5_FGBEJQ So is it a limitation of INF? If I add all these commands manually, then it works fine. Edited March 9, 2015 by MrMateczko Link to comment Share on other sites More sharing options...
jumper Posted March 10, 2015 Share Posted March 10, 2015 foo2=foo1foo3=foo2nul=foo3 Link to comment Share on other sites More sharing options...
pangoomis Posted March 10, 2015 Author Share Posted March 10, 2015 Seems logical...why didn't I though of that? It works, thanks. 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