carter8189 Posted April 26, 2006 Share Posted April 26, 2006 Hi guys i'd like to ask you a thing: i'm installing xp from a cd so in every bat file %systemdrive% is cdrom drive. Now i'd like to copy some files from the cd to the partitions where i'm installing windows during the runonceex (so i couldn't put the file in $Progs because it runs during textmode so i would be otherwise). For example i could make a bat file in which i can call the directory C:\ but for example if i install windows in another partion different from C:\ how can i do?thanks Link to comment Share on other sites More sharing options...
Doc Symbiosis Posted April 26, 2006 Share Posted April 26, 2006 How about this one?ECHO %systemroot:~0,3% 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