@echo off
cls
cd\
C:
attrib -r -h boot.ini
del boot.ini
copy e:\kj\dos\xp.ini c:\
ren xp.ini boot.ini
attrib +r +h boot.ini
cls
Expert guidance, is this correct? Why is it not working and the original file is not replaced?
Additionally, when the expert helps with modification, can we make one that automatically finds the CD-ROM? For example, if the CD-ROM is drive G and these files are in G:\kj\dos\, and if it's drive H, can we make a batch that automatically finds the CD-ROM's kj\dos\xp.ini file and helps replace the C:\boot.ini file? Can such a batch be made in WINDOWS to perform this replacement?
cls
cd\
C:
attrib -r -h boot.ini
del boot.ini
copy e:\kj\dos\xp.ini c:\
ren xp.ini boot.ini
attrib +r +h boot.ini
cls
Expert guidance, is this correct? Why is it not working and the original file is not replaced?
Additionally, when the expert helps with modification, can we make one that automatically finds the CD-ROM? For example, if the CD-ROM is drive G and these files are in G:\kj\dos\, and if it's drive H, can we make a batch that automatically finds the CD-ROM's kj\dos\xp.ini file and helps replace the C:\boot.ini file? Can such a batch be made in WINDOWS to perform this replacement?
