Windows batch file help

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

forte21xx

Thread Starter
Joined
Mar 2, 2002
Messages
157
I'm trying to create a simple desktop cleanup batch file. What I want to do is to take every file located on my desktop except for a few shortcuts and move them to a certain directory. Does anyone know how to do this?
 

TerryNet

Terry
Moderator
Joined
Mar 23, 2005
Messages
80,947
I'd first try moving everything to the certain directory, and then move the few shortcuts back.

If this doesn't work (maybe because of trying to move Recycle Bin) then write a loop to move each item individually with enough IF's to omit the ones that are to remain.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top