Can I scan with DOpus some folders every 1min & copy to needed path all differences
You could use the system task scheduler to run the Copy UPDATEALL command via dopusrt.
How? Can U give me an example, please?
i need to copy all new files copied to the folder. please help
You can run Opus commands from outside of Opus via dopusrt.exe. As a simple example, this will cause the About Window to be shown:
"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /cmd Help ABOUT
For help using the Windows task scheduler try Google, I guess. I've never used it myself but since it's part of Windows I'm sure there are lots of places that explain it.
"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /cmd copy "\net\folder1" to "C:\folder2" updateall
what's wrong?
i got "folder1 not found"!!!
"Net path not found" (53)
What's this?
Can i use three commands in one string?
ex:
C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe go \srv\Exchange\ Select ALL Copy TO C:_RG\try UPDATEALL
How to do this?
is anybody here?
sorry for flood, REALLY NEED HELP!
Stop posting - someone will reply when they have an answer for you, and time to post it - continually posting is just annoying - this is not a live help system.
To schedule multiple commands, either use a batch file containing multiple calls to dopusrt.exe, or create a user command in Opus and then invoke that with dopusrt. dopusrt itself can only send one command at a time.
This works just fine for me from a batch file:
rem First copy command
"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /cmd Copy UPDATEALL FORCE "\\node1\etc$\log\test\*" TO "E:\CASES\Case# XYZ - Exchange 2003 Backup Failure\node1\logs"
rem Second copy command
"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /cmd Copy UPDATEALL FORCE "\\node2\etc$\log\test\*" TO "E:\CASES\Case# XYZ - Exchange 2003 Backup Failure\node2\logs"
The "Net path not found" error you last mentioned should have nothing to do with Opus... bottom line is to make sure whatever you want to do runs from a command prompt or batch file first... then you can either schedule the batch file to run... or as others said create an Opus user command (without the dopusrt prefix), and then schedule that... doesn't make much difference which way you use, but you need to create a working command first. Make sure the command copies the data in the way you want it to also... leaving just a folder name at the end of the path to copy from will copy THAT folder to your TO path...
Did you get your command working and do you know how to use the windows scheduler? If you put your commands in a batch file in the root of the C: drive called mycopy.cmd... you could then run something like this for a one-time schtasks test to run at 13:41:00 (1:41 PM):
schtasks /Create /tn mycopy-test /tr C:\mycopy.cmd /sc ONCE /st 13:41:00 /ru domain\myuseracct /rp mypasswd
You can then run schtasks /Create /? to get info on the /sc and /st and related options to set the sort of repeating schedule you want...
[quote="steje"]This works just fine for me from a batch file:
rem First copy command
"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /cmd Copy UPDATEALL FORCE "\\node1\etc$\log\test\*" TO "E:\CASES\Case# XYZ - Exchange 2003 Backup Failure\node1\logs"
rem Second copy command
"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /cmd Copy UPDATEALL FORCE "\\node2\etc$\log\test\*" TO "E:\CASES\Case# XYZ - Exchange 2003 Backup Failure\node2\logs"
[/quote]
I already did it! It doesn't work at all! I got "An error occurred while copying '*'. Syntax error in a filename... (123)"
The upper code copy a folder, not its contents! Why?
About your first reply... I can only imagine you're doing something wrong in your creation of the commands syntax, or since you're dealing with a UNC path, maybe you're bumping into some weird permissions issues here and there.
Can you narrow the scope of what you're doing by testing with just local folders and files first using 'dummy' directory paths we can test with ourselves to try and see what you're doing wrong?
About your 'second' reply, I actually noticed a 'different' strangeness with the copy commands I posted... any 'empty' folders located in the 'source' directory were not copied... it's like we need an equivilant to xcopy /E or something. Would not have expected that to happen... but I did NOT have the issue you're mentioning about 'contents' not being copied... Again, if you can provide 'local/non-unc' paths to test against which you can reproduce the problem with (as well as the command syntz you're trying to use)... then me or someone else can try and see what is wrong with what you're trying to do.
NOW using only dopus internal commands:
with local paths everytings goes right!
(Copy UPDATEALL force "c:\1*" TO "C:_RG\2")
normally, i get access to \srv04\exchange, i can copy all files & folders from this dir, i can do 'go','copy' etc. commands without any restrictions. But i can't copy any files using this command
Copy UPDATEALL force "\srv04\Exchange*" TO "C:_RG\2"
i got an error "An error occurred while copying '*'. Синтаксическая ошибка в имени файла, имени папки или метке тома (53)" (that was in Russian. In eng: syntax error in filename, folder name or volume name(53))
Does it make any difference if you navigate to \srv04\Exchange before running the command? Sometimes that forces the UNC path to be connected and makes things work that wouldn't otherwise (although, at least in theory, it should not be needed).
now i use:
go \srv04\Exchange\
select all
Copy TO C:_RG\2 UPDATEALL force
go c:
it works!
but it's very inconvienient (two 'go' commands, hate this 'jumping')
Copy UPDATEALL force "\srv04\Exchange*" TO "C:_RG\2" doesn't work, BUT
Copy UPDATEALL force "\srv04\Exchange\file.xxx" TO "C:_RG\2" works fine. Troubles with pattern?
What about using net use to map the network share as a drive letter before the Copy command? You could unmap it afterwards.
Nope...
doesn't work...
but at this time i got "An error occurred copying '30.dwg'. System cannot find the path specified. (3)"
It's another error!
30.dwg - first file to copy