how to unlock an folder which is locked in dos mode

look friends,

i have tried to lock mine folder using rename command and alt tab the command was
 ren deepak _
here _ is the combination of alt+607 . which changed mine folder name to _ and also hide it's content . now when i am trying to rename and unlock it. i can't . please tell me any method and sofware to unlock the folder and get mine important data back as this is important folder for me
LVL 1
deepak_jimsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee W, MVPTechnology and Business Process AdvisorCommented:
Try
MOVE deepak* deepakx
0
paraghsDy General ManagerCommented:
Leew's methos will not work as there is no deepak* folder anymore.

Haven't you tried this command :
ren alt+607 deepak
?

paraghs
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
Paraghs - are you not familiar with the process of displaying non-standard characters by using the ALT key and the numeric keypad?

Demo what I mean - open a DOS window then do the following:
md test (do not press enter - now hold down the alt key and using the numeric keypad, enter 6 then 0 then 7.  THEN press enter.  Now do a dir...
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

HoweverCommaCommented:
Norton Commander for DOS can do it, I know exactly what you are talking about using the Alt+ Numeric Keypad it sounds like you may have mistyped the number or you should be able to change to it the same way you created it.
0
deepak_jimsAuthor Commented:
look friends i tried all of above tips.
using that md test command created an new folder named test_ and i am downloading the norton commander and trying to use that . may be one of u had understand mine problem
but i have to make a project and my whole data and file papers are present in that folder .

does reinstalling the windows unlocks that folder or some other method to use. tell me please
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
deepak - that test was meant for Paraghs - not you.

Actually, try this:
In the dos prompt, change to the directory with file/folder in question.
If the naming problem is with a FILE (not a folder, but a file) then run this:

For /f "tokens=1" %a in ('dir /a-d /b deepak*') Do REN %a deepak

If the naming problem is with a FOLDER (with other files in it) then run this:
For /f "tokens=1" %a in ('dir /ad /b deepak*') Do MOVE %a deepak
0
deepak_jimsAuthor Commented:
look  leew i used this command according  to me deepak* is present folder name nd deepak is the name which i want tto give to that folder
if i m right then then syantx also didn't worked at all
0
paraghsDy General ManagerCommented:
Leew,

Did I sound like a newbie to DOS ? That's certianly NOT the case.
What I meant was not to type ALT+607, but to press ALT, and then type 607.

Anyway, I tried simulating Deepak's problem on both Win 98 & W2K.

If you rename a folder, say deepak, to "ALT+607" or "ALT+607deepak" or "deepakALT+607", even then that folder can be opened in Windows.
It is "hidden" only when you rename it to, say "ALT+187" or "ALT+187deepak".

Deepak, are you sure that you had renamed it as "ALT+607" ?
0
deepak_jimsAuthor Commented:
ya i am sure that i had renamed it using the command

ren deepak alt+607
which renamed the folder to _.
and since then i am trying to unlock this folder which has all mine data

by the way i will try urs this idea also
also the method told to me by leew was using the file command.
i tried that but didn't get the solution
now i will try this out
thanks for this help
0
gerodimCommented:
You can try acessing the folder using norton utilities or a program like that.... i think the old dos
norton utilities are freeware now..
0
shuvro_basuCommented:
Hi Deepak,

do you use any other os other than DOS? before replying to your question, i recreated your problem and i didnt face any issues in renaming a directory to _ (alt 607) and changing to that directory and moving files to that directory etc.

Incase you are using DOS, then i could give you a possible solution. However please answer the following first:

under which os did you create the directory?
what os you are using apart from DOS?

I am using win2K. and it worked. lemme know.

--regds
0
deepak_jimsAuthor Commented:


thanks  mr. basu for trying to help me and also mine other friends
i m using windows 98 second edition now.
and i locked mine folder in win-98 second ed. os

i had used this rename command with other  folder and they r working well even if i want to change it's name i can do
but i m facing problem on this folder which is quite neccessary for me
also tell me if i change the os to win xp then is it possible to unlock this folder

when i do norton antinvirus scan it show me the content of this folder

0
shuvro_basuCommented:
Hi Deepak,

Here's what you do.

Go to the DOS prompt from Win98.

then go to the parent folder where you have your hidden folder.

type the following command.
dir /ad > a.bat

now type the following :

edit a.bat

delete everything that you see except the folder name.
i.e. delete the top lines showing volumer serial no. label and directory of etc.
then delete everything that comes after the directory name.
then type cd before the name of your directory.
press alt+F and save the file.
after returning to the DOS prompt type a.bat.

let me know what happends then...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
deepak_jimsAuthor Commented:
look i used this commands also but not working according to me
u just tell me here a.bat refrence to presenfoldename.bat or some thing else
0
shuvro_basuCommented:
Ok, can you send me the path of your hidden folder, so that I can create the desired file for you. Also will appreciate if you can create a screen dump of the dir command from the hidden directory's folder in your reply for my easy understanding.

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft DOS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.