trouble using del command via .vbs file

May 8, 2011 at 15:50:56
Specs: Windows XP
hello there! i am making a simple .vbs anti-virus program that deletes some viruses on the spot, but i am having trouble with one command in this .vbs file, the command is "del (.bat*)", i am not sure if this is right. can you tell me wether or not this is correct, and if not, what the command actually is?

See More: trouble using del command via .vbs file

Report •


#1
May 8, 2011 at 16:37:38
LOL! 'del .bat*' dosen't make sense, but 'del *.bat' does. that means that this maybe an error, but if not, it means that it's trying to delete every Batch (*.bat) on the disk! take a second look at it and see if there's anything unusual about other lines using the 'del' command or '.bat' file extension.

Report •

#2
May 8, 2011 at 16:42:48
... and this should be posted here: http://www.computing.net/forum/prog...

Report •

#3
May 9, 2011 at 11:33:14
thanks! i don't think i should trust a youtube tutorial on computer programming anymore. sorry i forgot to mention that.

anyway, thanks for your help!


Report •

Related Solutions


Ask Question