Search found 9 matches
- 27 Dec 2013 04:09
- Forum: DOS Batch Forum
- Topic: Searching file and renaming folder
- Replies: 15
- Views: 11922
Re: Searching file and renaming folder
Nobody who can help me?
- 24 Dec 2013 03:12
- Forum: DOS Batch Forum
- Topic: Searching file and renaming folder
- Replies: 15
- Views: 11922
Re: Searching file and renaming folder
Now it will be a little bit difficult. I have many problems to do the following things and hope that anybody (Maybe foxidrive ) can help me. The script works perfect. But i need a little bit more. This is my structure. Folder - Subfolder 1 - Videofile Folder - Subfolder 2 - Videofile Folder - Subfol...
- 23 Dec 2013 05:30
- Forum: DOS Batch Forum
- Topic: Searching file and renaming folder
- Replies: 15
- Views: 11922
Re: Searching file and renaming folder
Many thanks! It works fine. Is it a big problem to write also all folder without any of the defined files. May i have three folder. 1) folder1 (withouth any .txt file in it) 2) folder2 (with a .txt file in it) 3) folder3 (with a .txt file in it) The batch has to search for ".txt" files and...
- 23 Dec 2013 05:10
- Forum: DOS Batch Forum
- Topic: Searching file and renaming folder
- Replies: 15
- Views: 11922
Re: Searching file and renaming folder
I changed the code into this. Cause i dont want a second .bat to take my result. What i have to do to get a .log file with this bat? The rest of my question is solved. @echo off title Videosammlung Audiobearbeitung Color 2F REM Eingabe der Dateiendung die gesucht wird. SET /P ENDUNG=Zu suchende Date...
- 23 Dec 2013 04:28
- Forum: DOS Batch Forum
- Topic: Searching file and renaming folder
- Replies: 15
- Views: 11922
Re: Searching file and renaming folder
PERFECT!!! That works totally fine. That is what i want and need. I need two things more. 1.) I want to define the file that the batch has to search for at the beginning. Maybe keyboard entries. (a.e. The batch asks "What file you are looking for?" and i type in ("txt"). What do ...
- 20 Dec 2013 09:53
- Forum: DOS Batch Forum
- Topic: Searching file and renaming folder
- Replies: 15
- Views: 11922
Re: Searching file and renaming folder
But thats the problem. 1) I will search for many ".txt" Files not only for one. It can be "hinweis.txt" , "test.txt", and so on. 2) I will search in many subfolders. not only one folder. Thats the changed code.... @echo off set "folder=" set "file=" ...
- 20 Dec 2013 09:33
- Forum: DOS Batch Forum
- Topic: Searching file and renaming folder
- Replies: 15
- Views: 11922
Re: Searching file and renaming folder
Thanks again for an fast answer. But i have still problems with the script. Now i changed the misplaced quotation marks. The new script looks like. @echo off set "folder=" set "file=" for /r %%a in (hinweis.txt) do set "folder=%%~dpa"&set "file=%%~na" if d...
- 20 Dec 2013 08:57
- Forum: DOS Batch Forum
- Topic: Searching file and renaming folder
- Replies: 15
- Views: 11922
Re: Searching file and renaming folder
Thanks for the answer. But i get only error messages. Der Befehl ""set folder=C:\temp\Privat\"" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Der Befehl ""set folder=C:\temp\Privat\Bilder\"" ist entweder falsch geschrieben oder konnte nich...
- 20 Dec 2013 07:43
- Forum: DOS Batch Forum
- Topic: Searching file and renaming folder
- Replies: 15
- Views: 11922
Searching file and renaming folder
Hello guys, i need some help with my batch file. I need a batch file that is searching recursiv for a special file. The file which im am searching for looks like "*.txt". If one text file was found in the folder the foldername should be renamed to "foldername [filename]". for exa...