Search found 6 matches
- 22 Jun 2010 12:07
- Forum: DOS Batch Forum
- Topic: "No valid files found" return screen from batch script (???)
- Replies: 14
- Views: 17956
Re: "No valid files found" return screen from batch script (
And what does the "2>Nul" do exactly? I understand ">nul" will print the outputs to NUL, but together with 2.... Well, I modified a bit your code to take care of the trailing characters (I echo the pass to a c: file instead) and also added "/R" to the FOR loop in order ...
- 21 Jun 2010 13:59
- Forum: DOS Batch Forum
- Topic: "No valid files found" return screen from batch script (???)
- Replies: 14
- Views: 17956
Re: "No valid files found" return screen from batch script (
Hi mates, sorry it took me a couple of days to test and reply to your efforts to help me. Avery_larry and aGerman: You were right about the length of characters, and not the number of files. The new proposed code + the shift worked for up to 93 files at once. Great change form 23 (still digesting th...
- 18 Jun 2010 08:39
- Forum: DOS Batch Forum
- Topic: "No valid files found" return screen from batch script (???)
- Replies: 14
- Views: 17956
Re: "No valid files found" return screen from batch script (
Well, guess what - it worked :0 Thanks. I had no idea %* would work for more than 9 arguments. There is although a limitation. If I click on more than 26 files at the same time (27 or more) it will bring an error message like "Windows cannot access the device, file or folder that you specified....
- 17 Jun 2010 14:57
- Forum: DOS Batch Forum
- Topic: "No valid files found" return screen from batch script (???)
- Replies: 14
- Views: 17956
Re: "No valid files found" return screen from batch script (
No good ;( Same nasty message. Ok, the : bcrypt is in c:\windows\system32 windr is in c:\ System32 is in the path so I don't see why declare its full path. The cmd would look up in that anyway. Windr is declared with its path in the batch "c:\windr" It must be something stupid to fix becau...
- 17 Jun 2010 06:22
- Forum: DOS Batch Forum
- Topic: "No valid files found" return screen from batch script (???)
- Replies: 14
- Views: 17956
Re: "No valid files found" return screen from batch script (
Hi aGerman! So, this piece of code DOES work. @echo off :: ******************************** :: Sets folder to act upon :: ******************************** SET LOCFOLDER=%~dp1 CD %LOCFOLDER% :: **********prog routine********** :: ****************************** @cls for /R %%v in (*.*) do echo %~f1 pa...
- 16 Jun 2010 15:45
- Forum: DOS Batch Forum
- Topic: "No valid files found" return screen from batch script (???)
- Replies: 14
- Views: 17956
"No valid files found" return screen from batch script (???)
Hi everyone! So, I wrote a script to encrypt whole directories but came across a result that I can't understand. it does a simple FOR /R %%v in (*.*) DO bcrypt %%~fv < pwd-file For some reason that works from commandline level. great! BUT what I had been trying is to call this script from another on...