Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Unable to delete file after installing Cygwin


06 Nov 2012   #1
ysg

Windows 7 Enterprise 32bit
 
 
Unable to delete file after installing Cygwin

Hello,

I installed cygwin in C:\cygwin\... Unfortunately, for one reason or another, my whole cygwin install became horribly buggered up (my home directory was not recognized and I could not access many of my commands/applications that I had installed/built). Now, I figured that I'm going to nuke everything from orbit (just delete the cygwin directory in my C drive) and start from scratch (besides, I would have loved to make an update or two to some of the apps). This became painfully difficult, as some directories and files could not be deleted. I'm running Win 7 and I am an admin.

This is the error that I get (with an exclamation point) when I try to delete a file:

Invalid MS-DOS function.

nul
Type: File
Size: 3.77 KB
Date modified: 10/30/2012 1:01 PM

Buttons: "Try Again" "Cancel"

If you need more information, please let me know and I'll try to provide it as best as I can. But I'd love to delete this directory and re-install, if you could help me, I'd greatly appreciate it.


My System SpecsSystem Spec
.

06 Nov 2012   #2

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Restore your system to a date before you installed the software!
System Restore

Just out of interest why do you want Window 7 to "look" like Linux? Just curious!
My System SpecsSystem Spec
06 Nov 2012   #3
ysg

Windows 7 Enterprise 32bit
 
 

Quote   Quote: Originally Posted by mitchell65 View Post
Restore your system to a date before you installed the software!
System Restore

Just out of interest why do you want Window 7 to "look" like Linux? Just curious!
No. I do have extensive Linux experience and for certain tasks find it much easier to accomplish them from a *nix command line. It's a nice addition to Windows that makes the experience overall better.
My System SpecsSystem Spec
.


06 Nov 2012   #4

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by ysg View Post
Quote   Quote: Originally Posted by mitchell65 View Post
Restore your system to a date before you installed the software!
System Restore

Just out of interest why do you want Window 7 to "look" like Linux? Just curious!
No. I do have extensive Linux experience and for certain tasks find it much easier to accomplish them from a *nix command line. It's a nice addition to Windows that makes the experience overall better.
Thanks for that, nice to add a bit more to my knowledge base. When you said "No" does that mean you can't do a system restore?
My System SpecsSystem Spec
06 Nov 2012   #5
ysg

Windows 7 Enterprise 32bit
 
 

Quote   Quote: Originally Posted by mitchell65 View Post
Quote   Quote: Originally Posted by ysg View Post
Quote   Quote: Originally Posted by mitchell65 View Post
Restore your system to a date before you installed the software!
System Restore

Just out of interest why do you want Window 7 to "look" like Linux? Just curious!
No. I do have extensive Linux experience and for certain tasks find it much easier to accomplish them from a *nix command line. It's a nice addition to Windows that makes the experience overall better.
Thanks for that, nice to add a bit more to my knowledge base. When you said "No" does that mean you can't do a system restore?
Haha, I said "No" to your question asking me if I wanted to make Windows look like Linux .

I'd like to try first in safe mode to delete those files (should work). I can't do it right now because I'm busy at work.
My System SpecsSystem Spec
06 Nov 2012   #6

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by ysg View Post
Quote   Quote: Originally Posted by mitchell65 View Post
Quote   Quote: Originally Posted by ysg View Post
No. I do have extensive Linux experience and for certain tasks find it much easier to accomplish them from a *nix command line. It's a nice addition to Windows that makes the experience overall better.
Thanks for that, nice to add a bit more to my knowledge base. When you said "No" does that mean you can't do a system restore?
Haha, I said "No" to your question asking me if I wanted to make Windows look like Linux .

I'd like to try first in safe mode to delete those files (should work). I can't do it right now because I'm busy at work.
But just deleting the files/folders will not repair your registry! Do a system restore and be safe!
My System SpecsSystem Spec
06 Nov 2012   #7

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by ysg View Post
Hello,

I installed cygwin in C:\cygwin\... Unfortunately, for one reason or another, my whole cygwin install became horribly buggered up (my home directory was not recognized and I could not access many of my commands/applications that I had installed/built). Now, I figured that I'm going to nuke everything from orbit (just delete the cygwin directory in my C drive) and start from scratch (besides, I would have loved to make an update or two to some of the apps). This became painfully difficult, as some directories and files could not be deleted. I'm running Win 7 and I am an admin.

This is the error that I get (with an exclamation point) when I try to delete a file:

Invalid MS-DOS function.

nul
Type: File
Size: 3.77 KB
Date modified: 10/30/2012 1:01 PM

Buttons: "Try Again" "Cancel"

If you need more information, please let me know and I'll try to provide it as best as I can. But I'd love to delete this directory and re-install, if you could help me, I'd greatly appreciate it.
The way you state the situation is you "did not" use an uninstall routine, correct? If that is the case, sometimes, reinstalling the software and then uninstalling it using the proper uninstall process will set things right.

If it were me, I would go with reinstalling and then use the process described in the following link to uninstall;

http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all

I have no idea what kind of problems you may have self-inflected by what you state in the rest of your post, so good luck.

But that's just my .02 cents.
My System SpecsSystem Spec
07 Nov 2012   #8

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

I would still opt for a system restore. Then you can install again. Better safe than sorry IMHO!
My System SpecsSystem Spec
Reply

 Unable to delete file after installing Cygwin




Thread Tools



Similar help and support threads for2: Unable to delete file after installing Cygwin
Thread Forum
Solved Unable to delete file on my desktop General Discussion
Solved Unable to delete a file,can't delete it can't shred it, General Discussion
Unable to delete video file. Music, Pictures & Video
Solved Unable to delete file General Discussion
Solved unable to delete a file (windows says its in use) General Discussion
unable to delete video file Music, Pictures & Video
Unable to delete a file in Win 7 General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:21 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33