I found out that i could output my files named the way i want, so i don't actaully need answer to my question.
//J
Search found 4 matches
- 19 Jan 2010 15:57
- Forum: DOS Batch Forum
- Topic: Rename files myFile0001.jpg to myFile1.jpg
- Replies: 1
- Views: 3405
- 19 Jan 2010 13:38
- Forum: DOS Batch Forum
- Topic: Rename files myFile0001.jpg to myFile1.jpg
- Replies: 1
- Views: 3405
Rename files myFile0001.jpg to myFile1.jpg
Hi i have a undefined amount of files looking like this myFile0001.jpg myFile0002.jpg myFile0003.jpg etc. i would like to remove the zeros, so that the files will look like this instead: myFile1.jpg myFile2.jpg myFile3.jpg -- etc -- myFile4562.jpg myFile4563.jpg myFile4564.jpg How to do that? note: ...
- 17 Dec 2009 13:30
- Forum: DOS Batch Forum
- Topic: Output/Redirection Question 1> and 2>
- Replies: 5
- Views: 8474
Output/Redirection Question 1> and 2>
Hi, i have one more question =)
I use the > syntax to output the console to a file.
The thing is, in some cases i have to use 2> to catch errors.
Does anybody know how i catch BOTH non-error -and error-messages?
I use the > syntax to output the console to a file.
The thing is, in some cases i have to use 2> to catch errors.
Does anybody know how i catch BOTH non-error -and error-messages?
- 17 Dec 2009 13:25
- Forum: DOS Batch Forum
- Topic: How to check if file is busy/locked?
- Replies: 2
- Views: 7563
How to check if file is busy/locked?
Hi i'm having trouble finding a clean solution that checks if a file is busy/locked. I know one way would be try to rename the file, if it suceeds, the file is not locked and you rename the file back to it's original filename. I think it's a bit nasty, alltho it works in most cases, so i would like ...