corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Batch file writing


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Batch file writing
Skinz
Member

Registered: 15th May 03
User status: Offline
6th Jul 05 at 11:21   View User's Profile U2U Member Reply With Quote

I need to write a login script batch file that deletes some profile directories on logon.

can do

del %systemdrive%\documents and settings\*.*

but i want it to leave the All Users profile directory, is there any exceptions you can write into batch files, or IF commands or similar?
Brett
Premium Member

Avatar

Registered: 16th Dec 02
Location: Manchester
User status: Offline
6th Jul 05 at 11:25   View Garage View User's Profile U2U Member Reply With Quote

why not have the script first copy the all users to another place then that above ^^^ then copy back. end.
Skinz
Member

Registered: 15th May 03
User status: Offline
6th Jul 05 at 11:26   View User's Profile U2U Member Reply With Quote

didnt think of it that way, good plan
Brett
Premium Member

Avatar

Registered: 16th Dec 02
Location: Manchester
User status: Offline
6th Jul 05 at 11:32   View Garage View User's Profile U2U Member Reply With Quote

yesh

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
.WAV to .MP3 viera Geek Day 8 1546
9th Apr 03 at 08:41
by Garnz
 
Question about Visual Basic PaulW Geek Day 0 732
30th Apr 03 at 19:39
by PaulW
 
Computer Help!!!!!!!!!!! Happy_2008 Geek Day 7 1223
12th Jun 03 at 23:09
by LoudandProud
 
Maybe Ian or Tim will know this, but anyone else too... PaulW Geek Day 7 909
16th Dec 03 at 19:50
by Trucido
 
photoshop batch action method. R Lee Snap Day 3 1173
12th Jul 04 at 17:14
by Icy
 

Corsa Sport » Message Board » Off Day » Geek Day » Batch file writing 28 database queries in 0.0115709 seconds