Search found 4 matches
- 28 Apr 2020 11:42
- Forum: DOS Batch Forum
- Topic: file path with changing folder name
- Replies: 2
- Views: 4171
file path with changing folder name
Hello everyone, I am trying to create a batch file that will essentially look into a specific folder to check for missing files. However, the folder changes everyday and a new folder is created everyday with previous business day (t-1) as the folder name. Hence, I am trying to create a dynamic batch...
- 16 Mar 2020 17:05
- Forum: DOS Batch Forum
- Topic: close all open folders in file explorer
- Replies: 1
- Views: 3813
close all open folders in file explorer
Hi all,
I want to create a bat file that can close all open folders in the file explorer. However, it should not close any programs that are open (for example: excel, outlook, web browsers etc). Any help would be appreciated!
Thanks!
I want to create a bat file that can close all open folders in the file explorer. However, it should not close any programs that are open (for example: excel, outlook, web browsers etc). Any help would be appreciated!
Thanks!
- 20 Feb 2020 14:48
- Forum: DOS Batch Forum
- Topic: copy folder with latest time stamp using batch file
- Replies: 3
- Views: 6830
Re: copy folder with latest time stamp using batch file
Thanks for your reply penpen. I tried using xcopy but it didn't copy any files. I tried using and it copied over the contents inside the "test" folder. I would like to copy over the "test" folder and the sub folders inside it. Would you have a solution for this?
Thanks!
Code: Select all
xcopy /s /e /i
Thanks!
- 20 Feb 2020 09:58
- Forum: DOS Batch Forum
- Topic: copy folder with latest time stamp using batch file
- Replies: 3
- Views: 6830
copy folder with latest time stamp using batch file
Hello, I am a new user trying to create batch files for the first time. I am trying to create a batch file that will detect the folder with the latest time stamp, copy the entire folder and sub folders and paste into another folder. The batch file will run everyday as new folders are added on a dail...