Search found 4 matches
- 22 May 2016 23:41
- Forum: DOS Batch Forum
- Topic: Using the strLen function with my script. Please Help
- Replies: 11
- Views: 10266
Re: Using the strLen function with my script. Please Help
I want to thank you, aGerman , for your quick reply and helping me figuring out what exactly was wrong with my script. Needless to say, your script works and my boss was very happy we don't have to ask IT to download us some sketchy freeware-stuff. Thanks for that! I am really not the best witch bat...
- 20 May 2016 08:34
- Forum: DOS Batch Forum
- Topic: Using the strLen function with my script. Please Help
- Replies: 11
- Views: 10266
Re: Using the strLen function with my script. Please Help
Thank you for your reply as well.. I tried it and came to the conclusion that it displays the length of the string INSIDE the file. It's my goal to count the number of signs used in the filepath of the file. C:\Users\fastl\Desktop\BatchFileTest\filepathcount.bat I would like to know how many signs a...
- 20 May 2016 08:29
- Forum: DOS Batch Forum
- Topic: Using the strLen function with my script. Please Help
- Replies: 11
- Views: 10266
Re: Using the strLen function with my script. Please Help
Thank you for your reply. Sadly this doesn't seem to return any value in the variable var1 where it's supposed to show the number. Try this: @echo off setlocal enabledelayedExpansion for /r . %%g in (*.*) do ( call :strLen %%g var1 echo Pfad ist !var1! Zeichen lang echo %%g ) set cnt=0 for %%A in (*...
- 20 May 2016 06:08
- Forum: DOS Batch Forum
- Topic: Using the strLen function with my script. Please Help
- Replies: 11
- Views: 10266
Using the strLen function with my script. Please Help
Hello everyone, this is my first post. I hope you can help me. I am currently trying to write this Batch file here for work. I'm fairly new to .bat files but I have a basic understanding of php and c++. I need to write a batch file that will do the following: 1. Display all files including full file...