Home > Software engineering >  VS the custom clean script
VS the custom clean script

Time:10-15

Requirements:
After click "clean", can perform a custom script,

Try:
In the "properties" - & gt;" Custom generation step - & gt; "" Regular "- & gt; After the following operations, the clean

Command line input script path,

Results:
Method is not effective, right?

CodePudding user response:

Have the clean so command... Delete I remember seems del, but the best way is to choose a familiar script language, plug in, execute the code

CodePudding user response:

reference 1st floor dustpg response:
have clean so ordered it... Delete I remember seems del, but the best way is to choose a familiar script language, plug in, execute code

"After the following implementation, the clean" choice of operation is clean, but unable to promote the operation when performing a "clean" the corresponding commands

CodePudding user response:

That estimate is vs internal command, can use Windows's own/? Can see such help, don't know this

CodePudding user response:

Demand is not click clean up after, to perform a custom script? Should be to want to write a program to perform delete operation?

CodePudding user response:

Such as you enter the clean c: \ \ 123, after the command parsing the command first, if there is a clean, then continue to look behind to perform clear directory, such as a directory called 123, and then traverse the all files and folders in the directory, and remove the last call or other documents delete command to delete these files,

CodePudding user response:

CD/d "to clean up the drive and directory path"
Del/FSQ *. Obj
PCH del/FSQ *.
Del/FSQ *. Idb
Del/FSQ *
BSCDel/FSQ *. PDB
Del/FSQ *. Ilk


CodePudding user response:

Written by batch,
  • Related