Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Batch file help

  1. #1
    New Coder
    Join Date
    Aug 2008
    Posts
    18
    Thanks
    2
    Thanked 1 Time in 1 Post

    Batch file help

    I have a batch file that simply deletes certain files.
    del *.inf.*
    del *.out.*
    del *.plt
    del *.log.*
    del *.ref.*
    del *.inf
    del *.out
    del *.log
    del *.ref
    When it runs I get the error "Could Not Find 'location'.*inf*" for example

    I have run this before with no problem but it seems to be not working now after we recently switched to a new domain. I check and the user has full rights to the files they are trying to delete?

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,801
    Thanks
    160
    Thanked 2,216 Times in 2,203 Posts
    Blog Entries
    1
    May be the .inf files are hidden, so you'd need to execute like
    Code:
    del -a h file-name
    btw, what's this *.inf.* meant for?
    Last edited by abduraooft; 11-25-2008 at 03:02 PM.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •