Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
extracting a part of string in Batch File
Name: dharamshiv Date: May 10, 2009 at 13:58:08 Pacific OS: Windows XP Subcategory: Batch
Comment:
Batch
Hi I am not able to extract a part of a string. I need Help
i am using this expression set var1=%cd:~-%length%% where length is 10 but this is not working
but when i use the following expression its working fine. set var1=%cd~-10%
Summary: Ok, this is making me pull my hair out, and i am sure its going to be something very silly that i have over looked. I am doing a dir of a directory of backup files (.bak) and piping this to a file. ...
Summary: Hi, Works just as I expected. I can't believe that such an easy tool is so hard to find on the net. All I was able to find, where tools that search FOR a list of strings IN multiple files... Thanks a...
Summary: I'd like to replace string with new one in *.srt file. I found similar solution created by M2 here: http://www.computing.net/answers/pr... ---------------------------------------------------- @echo o...