Jump to content

batch programming help


Recommended Posts

i need help with some batch programming...

a program generates files in a directory

abc-1.htm

abc-2.htm

abc-3.htm

.

.

.

abc-11.htm

abc-12.htm

.

.

.

abc-n.htm

a dir command in alphabetical order give

abc-1.htm

abc-10.htm

abc-11.htm

.

.

.

thus how can i write a program to know the last file , ie abc-n.htm

the date of creation need not b in order.

thought very much but didnt seem to get any answer.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy