Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Tuesday, April 7, 2009

Delete a Windows file in Use

Hi Again,

Whenever you download a corrupt movie or a image file, the same cannot be deleted by the normal delete command. Do find a solution for the same.


Go to Start > Programs > Accessories and open a Command Prompt window and leave it open. 

Close all other open programs.

Now, go to Start > Run and enter TASKMGR.EXE. 

Click on the Processes tab and End Process on Explorer.exe. 

Leave Task Manager open.

Go back to the Command Prompt window. You should see this:

C:\Documents and Settings\YourName>

Now change the directory. After the > type: cd\

then enter.

The above step is meant to take you to the respective folder where the file is located.

You will now see C:\>

After the > type:

del c:\pwd001.jpg

then enter. Repeat for each file. 

When you have finished deleting the files, go back to Task Manager and click on File > New Task and enter EXPLORER.EXE to restart the GUI shell. Close Task Manager.

Post back if you have any problems or are not sure what to do.

Saturday, March 14, 2009

Lock Folders without any Software

Sometimes you have been asking for an alternative way to lock folders without the use of any alternative software. It’ll 5 steps ahead only, check now

In Notepad copy the code below.

The default password is “password1”. Change your password in the code, where it shown as password1 in yellow background. Password may be any combination of alpha or/and numeric.

Save this file as “locker.bat”.

Now double click on locker.bat.

It will create a folder named: Locker with automatic lock. After creation of the folder, place the contents (your files & folders) you wants to lock inside the Folder and double click locker.bat again. It will ask to lock the folder Y/N. If you press y then it will lock the folder and your folder will be hide. To unlock run again locker.bat, it will ask to enter password, type in correct password and you can see your folder back.

Please don’t change anything except password, otherwise this lock may does not work

èCode starts line below
cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDPASSWORD1 
:CONFIRM
echo Are you sure to Lock this folder? (Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock Your Secure Folder
set/p "pass=>"
if NOT %pass%== password1 goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDPASSWORD1 
md Locker
echo Locker created successfully
goto End
:End

èCode ends line above

Followers