We help IT Professionals succeed at work.
Get Started

Windows xp / batch get file info and change folder

Danny Kon
Danny Kon asked
Last Modified: 2012-05-09
The following in a batch xp sp3

I have a folder called c:\test
In this folder an other program is making files the first file is test1 then test2 etc
this file's allways uses the same layout but where i put the stars is variable:
name=*******   <--this can me any name not one word
order=******* <-- this can only be digits as one word
I need to see if a file exist in the folder and pipe tne name and the order to a text file and then to see if more files exist.

Thx in advance


Watch Question
Top Expert 2009
This problem has been solved!
Unlock 1 Answer and 12 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE