Home > OS >  Windows server 2008 file deletion anomalies
Windows server 2008 file deletion anomalies

Time:09-28

I in Java deleting files on Windows 2008, but after several times to delete, accidentally left and right click delete manually, hints file does not exist, want you to help me solve the,


CodePudding user response:

Copy paste the following code into a new TXT notepad document, and save as 1. Bat file (or do you like the name), pay attention to the extension bat batch file;

Since the boldface bold below copy:

DEL/F/A/Q \ \?
\ % 1
RD/S/Q \ \?
\ % 1That I met before, like the filename is too long, the layer number of files are too deep will appear this problem

CodePudding user response:

reference 1st floor cwhelucky123 response:
copy paste the following code into a new TXT notepad document, and save as 1. Bat file (or do you like the name), pay attention to the extension bat batch file;

Since the boldface bold below copy:

DEL/F/A/Q \ \?
\ % 1
RD/S/Q \ \?
\ % 1That I met before, like the filename is too long, the layer number of files are too deep will appear this problem


I tried this and method, does not seem to be the file name of more than 256, only single layer, better now.thanks

CodePudding user response:

According to the above method to solve the problem? There should be no enable disk index, but the disk on the machine performance index function is slightly affected

CodePudding user response:

The
reference 3 floor chang_bo response:
in accordance with the above method to solve the problem? There should be no enable disk index, but the disk on the machine performance index function is slightly influence

I am a Windows 2008 R2, sever in the search on the net disk index, try it again, don't or can't delete, don't know the similar problem will not happen again
  • Related