vbs delete files ?

  • Thread starter Thread starter PAkerly
  • Start date Start date
P

PAkerly

Hello,

I'm looking for a command that will let me delete files (not folders)
in a directory that have no extension.

so I might have files like this...
File1
FILE NAME2

and no extension, I just want a script to run and delete those.

I tried to se delete *. but this does not seem to work
 
You're in the wrong group. See here for VBS
documentation:

http://www.microsoft.com/downloads/...48-207d-4be1-8a76-1c4099d7bbb9&displaylang=en

You want the FileSystemObject DeleteFile method.

For further VBS questions go to

microsoft.public.scripting.vbscript


| I'm looking for a command that will let me delete files (not folders)
| in a directory that have no extension.
|
| so I might have files like this...
| File1
| FILE NAME2
|
| and no extension, I just want a script to run and delete those.
|
| I tried to se delete *. but this does not seem to work
 
Back
Top