Search found 44 matches
- 28 Aug 2011 19:11
- Forum: DOS Batch Forum
- Topic: Backup files
- Replies: 3
- Views: 5191
Re: Backup files
If it helps any, I am backing up the C:\Users folder to our Apple Time Capsule, which the correct folder to backup to is going to be Map Network Drived to B. I want two backups. New Code: @echo off echo Back up C:\Users to B:\ echo ... echo ... echo ... echo Replacing oldest backup... robocopy B:\ne...
- 27 Aug 2011 20:12
- Forum: DOS Batch Forum
- Topic: Backup files
- Replies: 3
- Views: 5191
Backup files
I am trying to make a batch script that will UPDATE the folder assigned to the computer. The folder is Z:\Data\Backups\(Computer) . If I use robocopy /mir will it delete files that were deleted on the computer? So far: @echo off echo Updating backup of files on Time Capsule... robocopy /mir echo Don...
- 24 Jun 2011 20:56
- Forum: DOS Batch Forum
- Topic: How Do I Use MAKECAB?
- Replies: 10
- Views: 27954
Re: How Do I Use MAKECAB?
is there a possible way to change it so it would detect subfolders and do those too (as another cab file) and then compress those cab files into another single cab file?
- 24 Jun 2011 20:50
- Forum: DOS Batch Forum
- Topic: is this doable?
- Replies: 9
- Views: 9272
Re: is this doable?
i ment the xml, but whatever. i would quess not, because findstr (from what i've seen) tends to be extracting data from a variable, not neccessarely a xml tag. agerman or another expert would probably know more about that.
- 24 Jun 2011 20:46
- Forum: DOS Batch Forum
- Topic: Mathematical Operations
- Replies: 8
- Views: 8844
- 24 Jun 2011 20:40
- Forum: DOS Batch Forum
- Topic: is this doable?
- Replies: 9
- Views: 9272
Re: is this doable?
can you refrase that? i know a bit about xml and that is confusing. could you correct it or add more around it so that it makes sense?
thanks
~C~
thanks
~C~
- 24 Jun 2011 20:36
- Forum: DOS Batch Forum
- Topic: Question About Keyboard Input
- Replies: 7
- Views: 7694
Re: Question About Keyboard Input
here might be the error in ed's code:
on time it says:
%@echon%
another time it says:
%@nechon%
fix either and it might work
~C~
on time it says:
%@echon%
another time it says:
%@nechon%
fix either and it might work
~C~
- 24 Jun 2011 17:03
- Forum: DOS Batch Forum
- Topic: batch file that cleans desktop?
- Replies: 7
- Views: 8782
Re: batch file that cleans desktop?
if you put nitt's code after the origional code, it should work fine - if you have the batch file in a different folder. also, he is moving - xcopy is the command for move.
- 29 Apr 2011 13:50
- Forum: DOS Batch Forum
- Topic: Make Directory with space
- Replies: 6
- Views: 7388
Re: Make Directory with space
is there a way to do this with the %date% variable used? i didn't have any luck with it.
- 29 Apr 2011 13:47
- Forum: DOS Batch Forum
- Topic: Bat File IP Monitoring
- Replies: 9
- Views: 10882
Re: Bat File IP Monitoring
for ipconfig the 2nd & 4th ip addresses in the1st catagory are the computer and router ip (don't remember which is which) try having it set the ip to a variable using some of the code above, and then have it moniter the ip you have. also when you have the ip at the start of the day set to a vari...
- 29 Apr 2011 13:40
- Forum: DOS Batch Forum
- Topic: syncing batch file
- Replies: 4
- Views: 5425
Re: syncing batch file
as in: Z: cd "Z:\..." robocopy "." "C:......" /mir ????? confused, but thanks for the idea. i think: [code]@echo off robocopy "Z:/..." "C:/users........" /mir[\code] would work much better. aGerman, or other expert, what do you think?
- 25 Apr 2011 06:09
- Forum: DOS Batch Forum
- Topic: syncing batch file
- Replies: 4
- Views: 5425
Re: syncing batch file
thanks, it should work
- 24 Apr 2011 20:56
- Forum: DOS Batch Forum
- Topic: Looping and Zipping of files
- Replies: 3
- Views: 5109
Re: Looping and Zipping of files
not sure (not familiar w/ zipping), but i would quess something along the lines of:
Code: Select all
@echo off
cd "(heading folder location)"
copy /s "*.*" "zip.zip"
- 24 Apr 2011 20:43
- Forum: DOS Batch Forum
- Topic: syncing batch file
- Replies: 4
- Views: 5425
syncing batch file
i want to create a batch file that syncs multiple folders, and i don't want to use the copy command, as that could create duplicates or errors (quessing). i also don't want to have to make an extra folder to sync. please help.
- 14 Apr 2011 06:23
- Forum: DOS Batch Forum
- Topic: Delete folders specified by user
- Replies: 7
- Views: 6998
Re: Delete folders specified by user
try removing the echo in a copy of the batch file. i am still a novice, but i see 2 commands, one after another, and i have found that doesnt really work.