I m creating little application which make easy some task in MS Word. Application have to be imported in Word as macro, that s mean that have to be stored in some template folder which is under user. So I wan t to find out how to know what is the name of user, and what is version of windows, cause my username and folder location is not same as someone else. Is there any little bat code, or some function in c++ that can easy just take those two information and store it in variable, that I can easy use it when installing application?
页: 1