vbs delete files ?

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
 
M

Mayayana

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top