Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
VBscript need to delete .tif
Name: Allen (by dryroasted_99) Date: September 4, 2008 at 21:29:34 Pacific OS: xp CPU/Ram: 512 Product: Dell
Comment:
I need help with vbscript. I have a folder which holds .Tif or .jpeg. After user is done with those pic's he/she is suppose to delete pic's in that folder. The script is suppose to prompt the user if they want to remove/delete .tif etc it give them the option of Yes/No. But My script always says "No File Deleted" I've been working on script but it doesn't seems to work. can you please!
Option Explicit
Dim x x = True
x = MsgBox ("Are you sure you want to clear all Printed results in the RESULTS folder?", 4,"Delete files?") If x = True Then Const DeleteReadOnly = True
Set objFSO = CreateObject("Scripting.FileSystemObject") objFSO.DeleteFile("C:\test\*.tif"), DeleteReadOnly MsgBox ("The RESULTS folder has been cleared") Else MsgBox ("No Files Deleted") End If
Summary: as the example below: #include main() { struct array1 { char name[30]; }details[10]; } ok, now there got 10 arrays, what if i entered all the array (10 names), and i need to delete any...
Summary: Hello every1!! Look, I need to remove all lines that say "Echo is off." from a text file using Batch. How can I do this?? Thanx!! ;) El-Trucha ...
Summary: Hello. I need to delete a folder called Full Circle Systems Docvue from anywhere it can be found on my computer. I have tried this but get an error dir /s /b "Full Circle Systems Docvue" > "c:\docu...