Search found 4 matches
- 02 Jan 2017 19:28
- Forum: DOS Batch Forum
- Topic: Messed-up batch file :(
- Replies: 5
- Views: 2959
Re: Messed-up batch file :(
You were right and I was wrong. This works fine now. Thank you very much!
- 01 Jan 2017 18:24
- Forum: DOS Batch Forum
- Topic: Messed-up batch file :(
- Replies: 5
- Views: 2959
Re: Messed-up batch file :(
untested: [code] @echo off set "source=C:\Users\digis\Outlook" set "target=F:\Outlook 2016 back-up Folder" ---------------------------------------------------------- As I took your suggestion above, didn't work, so i went back and wrote this one: cd C:\Users\digis\Outlook copy *....
- 01 Jan 2017 13:19
- Forum: DOS Batch Forum
- Topic: Messed-up batch file :(
- Replies: 5
- Views: 2959
Re: Messed-up batch file :(
At least your target folder contains spaces and thus, must be enclosed into quotation marks. untested: @echo off set "source=C:\Users\digis\Outlook" set "target=F:\Outlook 2016 back-up Folder" if not exist "%target%\" md "%target%" cd /d "%source%" ...
- 31 Dec 2016 19:26
- Forum: DOS Batch Forum
- Topic: Messed-up batch file :(
- Replies: 5
- Views: 2959
Messed-up batch file :(
I'm trying to write a quick batch file to back up my Outlook 2016 folders (C: drive) to a USB drive (F: drive). It worked for a long time but ever since I reformatted my C: drive, it stopped working. The notepad I use on my desktop (which I click on containing the script) flashes on the my monitor a...