Search found 5 matches
- 08 Jun 2012 03:46
- Forum: DOS Batch Forum
- Topic: Replace command
- Replies: 11
- Views: 6400
Re: Replace command
ok.. im using robocopy.. it does what i want.. but the problem now is.. can it run as a .bat file? cause when i paste in the code in cmd, it works, but when i use as .bat it doesnt... ============= @echo off robocopy "C:\Documents and Settings\NGWC\Desktop\RoboTest" "\\192.168.50.1\tr...
- 08 Jun 2012 00:24
- Forum: DOS Batch Forum
- Topic: Replace command
- Replies: 11
- Views: 6400
Re: Replace command
Im sort of backing up the files, not really just shortcuts. it can be documents etc.
robocopy command doesnt seem to be working on my cmd
robocopy command doesnt seem to be working on my cmd
- 07 Jun 2012 23:44
- Forum: DOS Batch Forum
- Topic: Replace command
- Replies: 11
- Views: 6400
Re: Replace command
the /A switch will add files new files which are not in the destination folder.
the /U /S switch will update files which are already in the folder but updated...
the thing is, what if i have an whole subfolder in that folder itself? it never copied the folder over...
the /U /S switch will update files which are already in the folder but updated...
the thing is, what if i have an whole subfolder in that folder itself? it never copied the folder over...
- 07 Jun 2012 20:51
- Forum: DOS Batch Forum
- Topic: Replace command
- Replies: 11
- Views: 6400
Re: Replace command
Its still not working... what im trying to do is to to keep a folder of Internet explorer favorites updated, so when someone updates/adds new favourites (most probably on a server ), it will be updated in the folder (on the running pc) too.
- 07 Jun 2012 19:12
- Forum: DOS Batch Forum
- Topic: Replace command
- Replies: 11
- Views: 6400
Replace command
==================================================================================== :: UPDATE.bat :: Updates the Chosen Directory with the Latest Files :: @ECHO OFF REPLACE "C:\Documents and Settings\NGWC\Desktop\distributionpt\"*.* "C:\distributionpt" /A REPLACE "C:\Docume...