PC Review


Reply
Thread Tools Rate Thread

Deleting a folder into application data folder during logon

 
 
=?Utf-8?B?TUFY?=
Guest
Posts: n/a
 
      2nd Mar 2005
I would like to delete a particular folder that a psyware maybe create into
APPLICATION DATA folder of user.

In which way I can do this action ?

Thank you in advance
 
Reply With Quote
 
 
 
 
Vera Noest [MVP]
Guest
Posts: n/a
 
      2nd Mar 2005
Put a line in your logon script, with something like:

if exist "%userprofile%\Application Data\folder_to_delete" rmdir /s
"%userprofile%\Application Data\folder_to_delete"

Note that this should be on a single line!
And check the correct syntax on a test system!

--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---

=?Utf-8?B?TUFY?= <(E-Mail Removed)> wrote on 02 mar
2005 in microsoft.public.win2000.termserv.clients:

> I would like to delete a particular folder that a psyware maybe
> create into APPLICATION DATA folder of user.
>
> In which way I can do this action ?
>
> Thank you in advance

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check for the existence of the Temporary folder namedTemporary Folder a , 2 and so on before deleting as the name is not fixed Yuvraj Microsoft Excel Programming 1 3rd May 2009 09:41 PM
Problem deleting vista RC windows folder and program files folder =?Utf-8?B?Um9iIEhvbG1lcw==?= Windows Vista Administration 0 8th Aug 2007 08:42 PM
deleting vista RC windows folder and program files folder Rob Holmes Windows Vista File Management 0 6th Aug 2007 04:52 PM
Deleting user data folder with WScript =?Utf-8?B?U3R5bGVz?= Windows XP General 1 12th Apr 2005 06:49 PM
Cannot access Application Data folder under my Documents andSettings folder Robert Smith Windows XP Help 2 23rd Jul 2004 10:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:08 AM.