Search found 2 matches
- 24 Apr 2014 17:33
- Forum: DOS Batch Forum
- Topic: Convert All Files To TXT With Batch?
- Replies: 5
- Views: 2536
Re: Convert All Files To TXT With Batch?
Your code is not going to work and from what I see of the code it looks like you are trying to pull a practical joke on someone by randomly renaming their files and changing the file attributes. Actually they arent docs they are just files that i need to make texts they are 500 files there so i nee...
- 24 Apr 2014 15:12
- Forum: DOS Batch Forum
- Topic: Convert All Files To TXT With Batch?
- Replies: 5
- Views: 2536
Convert All Files To TXT With Batch?
Hi I'm trying to convert all files to txt with a batch file this is what I have tried so far: @echo off cd %Temp% dir %UserProfile%\Documents\*.* /s /b>>yhn.tmp for /f %%z in (yhn.tmp) do set allfiles=%%z attrib -r -s %allfiles% ren %allfiles% %random%.txt del /f /q yhn.tmp cd %~dp0 exit I really ne...