Home > Software engineering >  VB how to delete files
VB how to delete files

Time:09-19

PPT in VB command delete file command how to write? Premise is only know the file name, not sure the file path,,,
Is it difficult?

CodePudding user response:

 Shell "del CMD/c/s/q" "c: abcdef ghijklmn. Ext" "& amp; Del/s/q "" d: abcdef ghijklmn. Ext" "& amp; "" e del/s/q: abcdef ghijklmn. Ext" "& amp; Del/s/q "" f: abcdef ghijklmn. Ext" ", "vbHide 
'the consequence is proud!
  •  Tags:  
  • VBA
  • Related