can some one shed some light on this quirk i tried escaping but still
doesnt seem to work
kd> aS resfol “.\scripts\hobocopy %tmp%
.\scriptresults\%DATE:~6,4%%date:~3,2%%date:~0,2% shl*.tmp”
kd> al
Alias Value
resfol .\scripts\hobocopy %tmp%
.\scriptresults%DATE:~6,4%%date:~3,2%%date:~0,2% shl*.tmp
kd> .shell -ci “uf NdisAllocateCloneNetBufferList” ${resfol}
<.shell waiting 10 second(s) for process>
HoboCopy (c) 2006 Wangdera Corporation. xxxxx@wangdera.com
Starting a full copy from C:\DOCUME~1\Admin\LOCALS~1\Temp to
F:\windbg\612windbg\scriptresults\2011_08_10
<.shell waiting 10 second(s) for process>
<.shell running: .shell_quit to abandon, ENTER to wait>Copied directory
Backup successfully completed.
Backup started at 2011-08-10 15:45:32, completed at 2011-08-10 15:45:49.
1 files (15.49 KB, 1 directories) copied, 4 files skipped
.shell: Process exited
i added the above commands inside a file so that i can invoke it later
but seems it is not working
kd> $$>a< scripts\cpydotsh.txt NdisAllocateCloneNetBufferList
<.shell waiting 10 second(s) for process>
HoboCopy (c) 2006 Wangdera Corporation. xxxxx@wangdera.com
<.shell waiting 10 second(s) for process>
Starting a full copy from C:\DOCUME~1\Admin\LOCALS~1\Temp to
F:\windbg\612windbg\scriptresults\2011_08_10
<.shell waiting 10 second(s) for process>
<.shell running: .shell_quit to abandon, ENTER to wait>Copied directory
Backup successfully completed.
Backup started at 2011-08-10 15:46:16, completed at 2011-08-10 15:46:36.
0 files (0.00 bytes, 1 directories) copied, 5 files skipped
.shell: Process exited
kd> al
No aliases
the contents of script file is as follows
aS resfol “.\scripts\hobocopy %tmp%
.\scriptresults\%DATE:~6,4%%date:~3,2%%date:~0,2% shl*.tmp”
.block{
.shell -ci “uf ${$arg1}” ${resfol}
}
ad /q resfol
hobocopy is a cmdline utility that uses vss volume shadow service
windows inbuilt vssadmin doesnt seem to provide a way to copy a single
file from the shadow
–
thanks and regards
raj_r