MaceZ4 Posted June 19, 2012 Posted June 19, 2012 Hello, I've got a batch process to export system information and I want to make a batch file to do it for all computers on site, however the way I've written it they'll all be called "001.txt" How do I create each file named after the computer it came from? I tried %HostName%.txt and it called the file exactly that...
Steve21 Posted June 19, 2012 Posted June 19, 2012 echo Hello world! >> %computername%.txt etc Steve 1
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