Hi squashman, sorry - missed the slash. Thanks for letting me know.
Cheers,
rrenis
Search found 8 matches
- 16 Sep 2016 09:22
- Forum: DOS Batch Forum
- Topic: Remove text from specific word onwards
- Replies: 14
- Views: 10138
- 16 Sep 2016 09:09
- Forum: DOS Batch Forum
- Topic: Remove text from specific word onwards
- Replies: 14
- Views: 10138
Re: Remove text from specific word onwards
Thanks Compo - I was thinking it was to replace the existing!! Doh! That works great and is much more elegant than what I had posted earlier! Thanks.
Cheers,
rrenis
Cheers,
rrenis
- 16 Sep 2016 08:16
- Forum: DOS Batch Forum
- Topic: Remove text from specific word onwards
- Replies: 14
- Views: 10138
Re: Remove text from specific word onwards
Hi Compo, not too sure how to impliment your suggestion but I'd been googling after your first response and adapted the code as follows. Whilst it's probably not the right way to go about it - it does work so I thought I'd post back so that anyone coming across this tread could use it. Thanks. @echo...
- 16 Sep 2016 08:12
- Forum: DOS Batch Forum
- Topic: Remove text from specific word onwards
- Replies: 14
- Views: 10138
Re: Remove text from specific word onwards
Hi Compo - thanks for the tip, will see if I can get it working. Once again your help is much appreciate. Thanks!
Cheers,
rrenis
Cheers,
rrenis
- 16 Sep 2016 07:50
- Forum: DOS Batch Forum
- Topic: Remove text from specific word onwards
- Replies: 14
- Views: 10138
Re: Remove text from specific word onwards
Thank you so much for your time and help Squashman and Compo!! Not sure why but the code provided by Squashman didn't alter the filenames but I tried Compo's after and it worked so once again thank you both for helping me out. This will be a big time saver!!
Cheers,
rrenis
Cheers,
rrenis
- 16 Sep 2016 06:37
- Forum: DOS Batch Forum
- Topic: Remove text from specific word onwards
- Replies: 14
- Views: 10138
Re: Remove text from specific word onwards
Hi Squashman, here's an example I found whilst googleing, posted by 'dbenham' on the Stackoverflow website. It prints the result in the command window and I can see the result is what I'm after although I'm not sure how to alter it in order to have it rename the files instead of printing the result....
- 16 Sep 2016 05:59
- Forum: DOS Batch Forum
- Topic: Remove text from specific word onwards
- Replies: 14
- Views: 10138
Re: Remove text from specific word onwards
Hi foxidrive, thanks for your reply. I may stick to Bulk Rename Utility but just wondered whether it could be acheived in a batch file in DOS. Sorry I used a generic example - just used it as an example. In use the '1234' example would be '720p'. Essentially I'm just trying to tidy up file names by ...
- 16 Sep 2016 04:25
- Forum: DOS Batch Forum
- Topic: Remove text from specific word onwards
- Replies: 14
- Views: 10138
Remove text from specific word onwards
Hi, does anyone know of a way to loop through the files in a directory and truncate a filenames from and including a specific word (in the example below it's 1234)? The example below illustrates what I would like to achieve... original filenames in directory: c:\some random text 1234 some random tex...