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.
What does this do?
Name: danzawobble Date: September 4, 2008 at 02:18:43 Pacific OS: XP CPU/Ram: 512 Product: DELL
Name: Judago Date: September 4, 2008 at 02:27:54 Pacific
Reply:
It finds all files in the current directory that end in -brio.txt and appends all of the text in them into report.txt
It will only work if the file names don't contain spaces, however the below would work with file names that contain spaces, Provided it's Nt+ with extensions:
for %%A IN (*-brio.txt) DO type %%~sA >> Report.txt
0
Response Number 2
Name: danzawobble Date: September 4, 2008 at 03:27:11 Pacific
Reply:
Many thanks!
If you've a moment could you let me know the sysntax to delete each file after its been appended to Report.txt.
My guess would be;
for %%A IN (*-brio.txt) del %%~A
Your time is very much appreciated!
0
Response Number 3
Name: Judago Date: September 4, 2008 at 04:04:51 Pacific
Reply:
This should do it....
for %%A IN (*-brio.txt) DO type %%~sA >> Report.txt&&del %%~sA
There is one important thing to remember here, THESE FILES WILL BE PERMANENTLY DELETED!! THEY WILL NOT GO TO THE RECYCLYE BIN!!
0
Response Number 4
Name: danzawobble Date: September 4, 2008 at 05:09:17 Pacific
Summary: can any body explain what does this func do in C: int Mparse (int j, int val1, int val2) { return ((int) (fmod(j, pow(2, v1)) / pow(2, v2))); } ...
Summary: Can someone please explain what this batch command does. ren zipp.dll zipp.exe >nul IF ERRORLEVEL 3 GOTO THREE IF ERRORLEVEL 2 GOTO TWO IF ERRORLEVEL 1 GOTO ONE zipp.exe x -bd -y Data1.7z >nul IF ERRO...
Summary: "the microsoft jet database engine cannot open the file 'C:\utilities\ms visual basic\VB98\biblio.mdb'. it is already opened exclusively by another user, or you need permission to view its data." what...