Search found 11 matches
- 08 Sep 2018 15:34
- Forum: DOS Batch Forum
- Topic: Copy Files with Same Extension from Subfolders
- Replies: 2
- Views: 3001
Re: Copy Files with Same Extension from Subfolders
Thanks, Squashman. That did it.
- 07 Sep 2018 10:51
- Forum: DOS Batch Forum
- Topic: Copy Files with Same Extension from Subfolders
- Replies: 2
- Views: 3001
Copy Files with Same Extension from Subfolders
I am trying to create a batch file to copy files of one extension type from numerous subfolders to a different folder. I am using this command: xcopy *.mp3 destination /s It isolates the files and copies the files, but creates the subfolders too. Is there another option that would place the files in...
- 13 Sep 2016 00:25
- Forum: DOS Batch Forum
- Topic: Use Dir Command for List of Filenames Only
- Replies: 7
- Views: 5493
Re: Use Dir Command for List of Filenames Only
Not sure, but don't I need a For.exe/For.com file somewhere on my Windows 7 system? I keep getting a 'file not found' error message.
- 12 Sep 2016 11:59
- Forum: DOS Batch Forum
- Topic: Use Dir Command for List of Filenames Only
- Replies: 7
- Views: 5493
Re: Use Dir Command for List of Filenames Only
Thanks for the replies. Forgive the newbie question, but where can I download the 'For' command?
- 11 Sep 2016 20:36
- Forum: DOS Batch Forum
- Topic: Use Dir Command for List of Filenames Only
- Replies: 7
- Views: 5493
Use Dir Command for List of Filenames Only
I need to make a list of all files, all types, in a folder and its subfolders. I don't want the folder and subfolder names to appear in the list, just the file names. Does any one know if this can be done and if so, what command options I should use?
Regards...John
Regards...John
- 17 Feb 2016 22:01
- Forum: DOS Batch Forum
- Topic: Assign Drive Letter by Batch File
- Replies: 5
- Views: 8032
Re: Assign Drive Letter by Batch File
I tried DISKPART, but couldn't figure out how to input the criteria at the prompt via the batch file.
Assigning Z: as the drive letter seems to have the letter maintained in the next session.
Thanks for the advice guys.
Assigning Z: as the drive letter seems to have the letter maintained in the next session.
Thanks for the advice guys.
- 16 Feb 2016 21:01
- Forum: DOS Batch Forum
- Topic: Assign Drive Letter by Batch File
- Replies: 5
- Views: 8032
Assign Drive Letter by Batch File
I have been having some problems with an external Sata hard drive on my PC. I assign it a specific letter, but when I reboot, the drive does not maintain its letter. The drive itself is new, but I also had the same problem with another drive. If this problem can’t be fixed, I would like to create a ...
- 29 Jun 2015 20:35
- Forum: DOS Batch Forum
- Topic: Batch File Log
- Replies: 3
- Views: 2990
Re: Batch File Log
Thanks for the info guys. I was able to do it.
- 29 Jun 2015 09:11
- Forum: DOS Batch Forum
- Topic: Batch File Log
- Replies: 3
- Views: 2990
Batch File Log
I run a back up routine by way of a batch file. I would like to simultaneously create a log file of the batch's actions. I have tried a command, "mybat.bat >> c:\log.txt", that I found on this forum. It works great in creating the log, but I can not view the batch's actions while it is run...
- 07 Jul 2013 11:22
- Forum: DOS Batch Forum
- Topic: Run Batch File on All Files in a Folder
- Replies: 2
- Views: 3027
Re: Run Batch File on All Files in a Folder
Thanks, Squashman. Works perfectly.
- 06 Jul 2013 09:10
- Forum: DOS Batch Forum
- Topic: Run Batch File on All Files in a Folder
- Replies: 2
- Views: 3027
Run Batch File on All Files in a Folder
I have a batch file that adjusts the level in the audio portion of a a video file. It has commands which use the '%1' variable in its scripting. How do I get the batch file to automatically perform its commands against all files in a specified folder rather than execute the batch file against each i...