Closed Thread
Results 1 to 2 of 2

Thread: Need help with windows xp cmd file FAST

  1. #1
    Turboorav's Avatar
    Turboorav is offline Newbie
    Join Date
    Mar 2009
    Posts
    7
    Rep Power
    0

    Exclamation Need help with windows xp cmd file FAST

    I have a problem. I want to make a program that erases all files in specified folder except the one I type in.

    I have a code:
    Code:
    for /d %%a in (%1) do if /I not %%a == %2 rmdir /s /q %%a
    But the problem is that it erases ALL files and the entire folder wich I have given it.

    Help plz :S

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest

    Re: Need help with windows xp cmd file FAST

    What are your intentions?

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 05-17-2011, 09:51 AM
  2. Replies: 2
    Last Post: 08-04-2010, 06:28 PM
  3. Replies: 2
    Last Post: 09-01-2009, 12:51 PM
  4. Windows 7 Beta Users Upgrade Fast
    By Chinmoy in forum Computer Software/OS
    Replies: 0
    Last Post: 06-24-2009, 05:59 PM

Tags for this Thread

Bookmarks

Posting Permissions

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