keilamym Posted April 6, 2015 Share Posted April 6, 2015 Hello.. . We're getting ready for an office upgrade and during the upgrade, I've been asked to delete the previous OST file. Does AutoIt have a wildcard option other than FileFindFirstFile? Thank you Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 6, 2015 Moderators Share Posted April 6, 2015 keilamym,Dog eaten your Help file? Look at FileListToArrayRec - that should do the trick. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
JohnOne Posted April 6, 2015 Share Posted April 6, 2015 FileDelete can delete multiple files in folder with wildcards. _FileListToArrayRec can do a recursive search if you do not know where they are. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Valuater Posted April 6, 2015 Share Posted April 6, 2015 Another possibility... 8) Link to comment Share on other sites More sharing options...
keilamym Posted April 6, 2015 Author Share Posted April 6, 2015 lol.. Melba23... . I swear I looked in my help file.. lol... thanks As for FileDelete.. I read the *.* but i'll check for something like *.ost.. Link to comment Share on other sites More sharing options...
Emiel Wieldraaijer Posted April 6, 2015 Share Posted April 6, 2015 what about del c:*.ost /s/q Best regards,Emiel Wieldraaijer Link to comment Share on other sites More sharing options...
keilamym Posted April 6, 2015 Author Share Posted April 6, 2015 file delete worked... I really feel like a newbie for that one.. it looks like this. FileDelete(@LocalAppDataDir & "MicrosoftOutlook*.ost") Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now