Simplistic but I'm will to put money on the issue requires a change in TC rather than our entire infrastructure infected with some malware or virus that is only effecting the TC delete command.
I'm not going to say it's a bug in TC as it could have been caused by some breaking change in...
>This is a known Windows bug.
I'm not going to deny this (although I wasn't aware there was a delete API call that can handle all the complexity of the command we are using) but I'm afraid that if you set yourself up as a utility provider, you have to work around bugs in the operating system...
Hi Rex,
I'm sorry - I disagree:
Basic Windows XP virtual machine
Install TC v8 - works fine
Install TC v11 - attributes changed randomly to RH
How if an old version worked and the new ones don't can it not be a bug in Take Command?
I'm a software developer. If somebody reported a...
I have a bit of bad news here... I've found a copy of TC v8.02.94 and executed the same command and it doesn't have the same problem. It's deleted the files older than 30 days and left the attributes alone.
The problem therefore appears to occur with later versions, v11.00.44 in this case...
I've just used robocopy to take a mirror image of S:\Temp to another server but this time hosted on Windows 2003 (not Windows 2008) and the same problem occurs.
So that shoots down my idea that it was a problem introduced with Windows 2008...
Just about to restore from backup again and reset...
Err, because it's Take Command that's carrying out the delete operation?
Okay, so it's calling Windows API to perform the delete but only you know whether it's walking through the tree one file at a time, checking timestamps and then deleting the file if it matches. Then checking for empty...
BTW - what is your host operating system? Is it Windows 2008? This same command used to run without a hiccup on Windows 2003 but we migrated to Windows 2008 a couple of months ago.
Cheers, Rob.
Same here -it's just me that has it installed locally.
I concur with your thoughts here - I didn't see Desktop.ini files in there but I did see quite a few empty folders with just Thumbs.db which is hidden and system.
I don't have another tool handy that could do the same thing - which is...
Okay later... no plugins are installed. Here is the state of the directory before the delete command:
[S:\Temp]attrib /a:d
____D________ S:\Temp\.settings
____D_______I S:\Temp\Alex
____D_______I S:\Temp\Andrew
____D________ S:\Temp\bin-debug
____D_______I S:\Temp\Christine...
>There's an alias interfering with your desired operation.
No, nothing there.
>There's a plugin interfering with your desired operation.
What kind of plugin?
>Windows on the target machine has gotten mangled somehow.
Doubt it... this is our main file server.
But what I will do is...
This is a VERY weird problem. We have a Take Command batch file which at it's heart executes this command:
del /[d-30,1-1-80] /s /x /z /y /e /k s:\temp > "%Logfile"
What this command does is effectively delete files & folders over 30 days old. S:\Temp is a temporary location on our network...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.