b21 MOVE /B

Apr 2, 2011
1,441
10
54
North Carolina, USA
Code:
[C:\Program Files\JPSoft\TCMD20]move /b \TCMDb21\Everything.exe Everything.exe
C:\TCMDb21\Everything.exe ->! C:\Program Files\JPSoft\TCMD20\Everything.exe (Replace) (Y/N/A/R)? Y
TCC: (Sys) Access is denied.
     0 files moved       1 failed

Since I have specified /B I think it should have said something to the effect that it would be moved at the next reboot, not just the error....
 
Apr 2, 2011
1,441
10
54
North Carolina, USA
The file was not replaced when I restarted the PC..... In case it matters - I have attached the everyting.ini as well...
 

Attachments

  • Everything.ini
    13.2 KB · Views: 56
  • Everything_b20.ini
    158 bytes · Views: 50
Apr 2, 2011
1,441
10
54
North Carolina, USA
The file was not replaced when I restarted the PC..... In case it matters - I have attached the everyting.ini as well...
 
May 20, 2008
11,400
99
Syracuse, NY, USA
I suspect you just don't have permission to write it to the new location or delete it from the old location. Did you try it elevated?
 
Jul 29, 2016
49
1
It seems like I have the same problem here with v20.00.20. Using DEL /b on the same file (testing this in a VM, not on my real machine) when in an elevated TCC session does give a message that the file is scheduled to be deleted at the next reboot. I think the /b option will only work in an elevated session, no matter what file you try to use it with.

I just finished rebooting the VM and I see that the file has been successfully deleted.

I haven't tested REN /b yet.
 
Apr 2, 2011
1,441
10
54
North Carolina, USA
Then it would be nice if the docs said the /B only worked on an elevated session...... Just saying...
 
Jul 29, 2016
49
1
I may have not been 100% clear above (after re-reading my post).

MOVE /b doesn't seem to work properly at all.

DEL /b does seem to work (when in an elevated session)

REN /b I have not tested yet, so I don't know if it works properly or not.

I would assume that all of the /b (... after reboot) commands would require an elevated session (but I'm not 100% sure), but none of the documentation for those 3 commands state that.
 
Last edited:
May 20, 2008
11,400
99
Syracuse, NY, USA
Remember that Charles was trying to write and delete in a place where unelevated users typically can't write and delete.

I don't know exactly what to expect from "MOVE /B". Apparently, I just moved a plugin that is in use.
Code:
g:\tc20\plugins> move /b 4threads.dll g:\tc20\
G:\tc20\Plugins\4threads.dll -> G:\tc20\4threads.dll
     1 file moved
Of course, that can't be. It was copied to the new location, but not deleted from the old location. There was no indication that any operations were scheduled for the next startup. I'll be back after a restart.
 
May 20, 2008
11,400
99
Syracuse, NY, USA
Remember that Charles was trying to write and delete in a place where unelevated users typically can't write and delete.

I don't know exactly what to expect from "MOVE /B". Apparently, I just moved a plugin that is in use.
Code:
g:\tc20\plugins> move /b 4threads.dll g:\tc20\
G:\tc20\Plugins\4threads.dll -> G:\tc20\4threads.dll
     1 file moved
Of course, that can't be. It was copied to the new location, but not deleted from the old location. There was no indication that any operations were scheduled for the next startup. I'll be back after a restart.
I'm back after a restart. The file was not deleted from the old location.
 
Similar threads
Thread starter Title Forum Replies Date
C question re: Move Support 3
samintz MOVE and Prompt on overwrite Support 3
M MOVE does not behaves like intended (on failure) Support 1
kb6ojs Make /G parameter persistent in COPY/MOVE command? Support 4
F Regexes in REN/MOVE/… commands seem to not work at all Support 3
T How to? Off screen move? Support 3
fpefpe Documentation copy/move using /c or /u Support 2
W Recursive move aborts early Support 2
D How move cursor out of popup edit control after no match? Support 14
nickles Move takecommand.18.0.key location to installation directory Support 4
J junction copy/move handling Support 6
J WAD move /s regression from tcc15 Support 5
C move /F Support 4
vefatica MOVE anomaly Support 8
C Move /s sorce target Support 13
Stefano Piccardi b32 move /Q writes message Support 1
C How to? MOVE and handling out of space Support 2
Joe Caverly How to? Move Window Between Monitors Support 6
S How to? Move files older than one year Support 9
fpefpe move /g Support 4
C Move /MD not always working Support 1
C Move question with Encrypted file... Support 6
W /g option (%) on MOVE cmd appears broken TCC 14.03.57 x64 Support 8
G Fixed MOVE truncates files Support 9
C MOVE making empty destinatation sub-folders Support 10
thedave Move files, inherit permissions Support 14
A Discrepancy in handling of "can't copy or move file to itself" Support 4
A expected behavior of move /sx Support 14
S MOVE from FTP directory to another FTP directory - bug?? Support 2
J directory tree - move or copy Support 3
D MOVE Help typo Support 3
D Suggest Help mention /n no effect in move /n Dir1 Dir2 Support 0
D Move /v to DVD fails but files identical Support 4
S Conditionally MOVE/COPY files on the basis of size Support 1
S MOVE to different drive Support 3
Joe Caverly Move Buttons Between Tabbed Toolbars Support 2
S Another 4NT 8.02 vs TCC 9.02 diff - MOVE command Support 3
S MOVE command over FTP with 4NT 5.00U Support 0

Similar threads