Batch script help please
Solved/Closed
BrianGreen
BrianGreen
- Posts
- 1010
- Registration date
- Saturday January 17, 2015
- Status
- Moderator
- Last seen
- September 30, 2021
BrianGreen
- Posts
- 1010
- Registration date
- Saturday January 17, 2015
- Status
- Moderator
- Last seen
- September 30, 2021
Related:
- Batch script help please
- Copy files from one server to another windows batch script ✓ - Forum - Windows
- Batch script to search for a file in a folder and subfolders and copy - Forum - Programming
- How to check folder size using batch script ✓ - Forum - Windows
- Batch script to delete files older than 30 days in windows ✓ - Forum - Windows
- Batch script to check file timestamp - Forum - Windows
1 reply
BrianGreen
Mar 10, 2016 at 09:30 AM
- Posts
- 1010
- Registration date
- Saturday January 17, 2015
- Status
- Moderator
- Last seen
- September 30, 2021
Mar 10, 2016 at 09:30 AM
Oh POO!
I forgot a - sign right at the end. The last working line should have been
IF %dd% LSS 10 SET dd=%dd:~-1%
At least I get a nice beer!
I really appreciate thank you messages as a payment for solving issues :o)
I forgot a - sign right at the end. The last working line should have been
IF %dd% LSS 10 SET dd=%dd:~-1%
At least I get a nice beer!
I really appreciate thank you messages as a payment for solving issues :o)