No, I don't try to create another debug output file, only one.
If I specifyed the full path of the commands and files, not run.
@echo off
C:\windows\system32\net.exe use H: \\10.0.0.3\bkp /user:admin password > C:\scripts\log.log
dir H: >> C:\scripts\log.log
C:\windows\system32\net.exe use /d H: >> C:\scripts\log.log
I have this configuration in the task:
Tab Main settings
Task type: remote execute
Tab Remote Execute
Credentials: admin@SERVER002 ---> with the correct credentials
Hostname: SERVER002
Command: C:\scripts\run.bat
Arguments: <none>
Working directory: C:\scripts
The output file such as:
***
The command completed successfully.
Volume in drive H is bkp
Volume Serial Number is C598-0174
Directory of H:\
22/09/2011 10:46 <DIR> .
24/08/2011 10:16 <DIR> ..
14/07/2011 11:15 <DIR> BCKP01
17/05/2011 04:25 <DIR> BCKP01_
19/05/2011 09:16 <DIR> BCKP04
20/05/2011 02:25 <DIR> BCKP022
30/08/2011 11:18 <DIR> CA
0 File(s) 0 bytes
9 Dir(s) 1.884.145.475.584 bytes free
H: was deleted successfully.
***
Edited by user
2011-09-27T11:00:35Z
|
Reason: Not specified