Jump to content
Macro Express Forums

getting rid of thumbs.db


eatc7402
 Share

Recommended Posts

When processing a dir full of image files i keep running into the thumbs.db

file as part of the file list. im trying to get rid of it so i dont process it as anm image... with..

 

  Text Box Display: 
 If Variable %T1% = "C:\eaahmpg\work3\thumbs.db"
Text Box Display: 
 End If
 Switch (T1)
Case: C:\eaahmpg\work3\thumbs.db
  Text Box Display: 
  Delete File or Files: "%T1"
  Program Shut Down: "Jasc Paint Shop Pro"
End Case
End Switch

 

The 'if' works... but the CASE doesnt... hmmm.

 

Whats wrong with my case?? ive triede adding quotes, = .

but cant seeem top figure it out.

Link to comment
Share on other sites

For one thing, you're missing a %. This:
	Delete File or Files: "%T1"

should look like this:

	Delete File or Files: "%T1%"

 

 

yesw u r correct, and ill fix THAT. but my propblem is it wont

enter the CASE at all... and thats what is puzzleing me. But

thanks for sure.

 

eatc7402

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...