Jump to content

Recommended Posts

Posted

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... :frusty:

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...