Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Wscript.Arguments Drag Drop Delete

Featured Replies

Here is a script that will delete files it can do multiple files at the same time.

How to use

1:\ Drag any file or files on to the VBS script

Note this does not send the file or files to the recyle bin but deletes the files permently.

Save As Drag_Drop_Delete.vbs

Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")
Dim DelFile
For Each DelFile in Wscript.Arguments : Fso.DeleteFile(DelFile) : Next

Link To Updated DragDropDelete

Edited by gunsmokingman


  • 3 months later...
  • Author

I have updated the script so it now does Files and Folders.

This does not send any thing to the Recyle Bin it deletes.

Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")
Dim DelF, GetF
On Error Resume Next
For Each DelF in Wscript.Arguments
Set GetF = Fso.GetFile(DelF) : GetF.Delete()
Next
For Each DelF in Wscript.Arguments
Set GetF = Fso.GetFolder(DelF) : GetF.Delete()
Next

Here is a Rar file of the above code

Edited by gunsmokingman

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.